/* Custom styles for Mid-Missouri Supported Living */

/* ============================================================
   SPACING
   ============================================================ */
.about-1-section.pt-0 {
    padding-top: 120px !important;
}
.service-6-section {
    padding-top: 120px;
}

/* ============================================================
   BRAND COLOR CORRECTIONS
   ============================================================ */

/* About section — bullet dots → bright green */
ul.about-1-list li:before {
    background: var(--theme-color) !important;
}

/* Services tab — checkmark strokes → bright green */
ul.service-6-list li:before,
ul.service-6-list li:after {
    background: var(--theme-color) !important;
}

/* Services tab — active indicator arrow → bright green */
.service-6-tab-title:before {
    background: var(--theme-color) !important;
}

/* ============================================================
   SERVICES TABS — ALLOW TAB NAMES TO WRAP ONTO 2 LINES
   ============================================================ */
.service-6-tab-title {
    font-size: 16px;
    white-space: normal;
    line-height: 1.3;
    padding: 22px 10px;
    word-break: break-word;
}

/* ============================================================
   WHY CHOOSE US — CIRCLE COLORS → GREEN SHADES
   ============================================================ */
.why-chooseus-1-count {
    background: var(--theme-color) !important;         /* #1 bright green */
}
.why-chooseus-1-block:nth-child(2) .why-chooseus-1-count {
    background: var(--theme-color-dark) !important;    /* #2 dark green */
}
.why-chooseus-1-block:nth-child(3) .why-chooseus-1-count {
    background: #2e7d52 !important;                    /* #3 mid green */
}

/* ============================================================
   ABOUT PAGE — TEAM SECTION SPACING
   ============================================================ */

/* Less space between photo and name */
.team-2-image-wrap {
    margin-bottom: 8px !important;
}

/* More bottom spacing on each card so "Read Bio" doesn't crowd the row below */
.team-2-block {
    margin-bottom: 60px;
}

/* ============================================================
   SERVICE DETAIL — SIDEBAR "ALL SERVICES" WIDGET — COMPACT
   ============================================================ */

/* Reduce box padding (default: 40px) */
.category-widget {
    padding: 22px !important;
    margin-bottom: 25px !important;
}

/* Smaller title (default: 28px) */
h4.category-widget-title {
    font-size: 18px !important;
    margin-bottom: 14px !important;
}

/* Tighter gap between items (default: 9px) */
ul.category-widget-list li {
    margin-bottom: 5px !important;
}

/* Compact link buttons — tight padding, one line, ellipsis on overflow */
ul.category-widget-list a {
    font-size: 13px !important;
    padding: 8px 38px 8px 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Smaller arrow icon circle to match reduced font size */
ul.category-widget-list a i {
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    font-size: 10px !important;
    top: 12px !important;
    right: 10px !important;
}

/* ============================================================
   SERVICES PAGE — CARD INTRO TEXT — 4 LINE CLAMP
   ============================================================ */
.service-2-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   FOOTER TOP BAR — GREEN TINT BACKGROUND + VISIBLE SOCIAL ICONS
   ============================================================ */
.footer-1-top {
    background: #2e7d52 !important;
  padding: 20px 0;
    /* CDGEDIT  border-top: 1px solid #196633 !important; */
}
.footer-1-social-icon a {
    background: #196633 !important;
    color: #fff !important;
}


/* ============================================================
   POLICIES PAGE — document group cards + download rows
   ============================================================ */
.policies-docs-section {
    padding: 0 0 80px;
}
.policy-group {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}
.policy-group-header {
    background: #196633;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.policy-doc-list {
    padding: 6px 0;
}
.policy-doc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.policy-doc-item:last-child {
    border-bottom: none;
}
.policy-doc-icon {
    font-size: 28px;
    color: #c0392b;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
.policy-doc-item--empty .policy-doc-icon {
    color: #999;
}
.policy-doc-info {
    flex: 1;
    min-width: 0;
}
.policy-doc-title {
    font-weight: 600;
    font-size: 15px;
    color: #222;
    line-height: 1.3;
}
.policy-doc-date {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}
.policy-doc-item--empty .policy-doc-title {
    color: #999;
    font-weight: 400;
    font-style: italic;
}
.policy-doc-btn {
    flex-shrink: 0;
    background: #3AB34A;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    white-space: nowrap;
}
.policy-doc-btn:hover {
    background: #196633;
    color: #fff !important;
}

/* ============================================================
   FAQ ACCORDION — wrap long questions flush with text start
   ============================================================ */
.accordion-box .block .acc-btn {
    display: flex;
    align-items: flex-start;
}
.accordion-box .block .icon-outer {
    flex-shrink: 0;
}
