/* WORLDWIDE HELP – Depression & mental health crisis */
.depression-shell{background:#fff}
.depression-hero .lang-btn{text-decoration:none}
.depression-main{
  width:min(1450px,calc(100% - 38px));
  margin:0 auto;
  padding:30px 0 8px;
}
.depression-heading{text-align:center;margin:0 auto 24px;max-width:980px}
.depression-heading h1{
  margin:0;color:#076f7a;font-size:clamp(2rem,3.2vw,3.35rem);line-height:1.05;font-weight:950;
}
.depression-heading p{margin:12px 0 0;font-size:clamp(1.05rem,1.4vw,1.3rem);font-weight:750;color:#38485a}

.depression-top-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0 0 20px}
.depression-info-card{
  min-height:255px;border:1px solid #dbe2e6;border-radius:17px;background:#fff;padding:26px 30px 24px;
  box-shadow:0 8px 22px rgba(23,39,59,.08);text-align:left;
}
.depression-info-card h2{margin:8px 0 14px;color:#082a58;font-size:1.35rem;line-height:1.2;font-weight:900}
.depression-info-card p{margin:0;line-height:1.58;color:#314256}
.depression-info-card ul{margin:0;padding-inline-start:22px;line-height:1.58;color:#314256}
.depression-card-icon{
  width:47px;height:47px;border-radius:50%;display:grid;place-items:center;background:#087987;color:#fff;
  font-size:1.5rem;font-weight:900;box-shadow:0 4px 11px rgba(8,121,135,.18)
}
.alone-card .depression-card-icon{background:#087987}
.helps-card .depression-card-icon{background:#0876bd}

.quick-access{
  width:100%;margin:0 0 26px;padding:20px 24px 22px;border:1px solid #cfe2e5;border-radius:15px;
  background:linear-gradient(180deg,#f8fcfc 0%,#eff9fa 100%);box-shadow:0 6px 18px rgba(23,39,59,.06)
}
.quick-access h2{margin:0 0 14px;text-align:center;color:#086f79;font-size:1.28rem;font-weight:900}
.quick-access-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.quick-link{
  min-height:50px;border-radius:9px;border:1px solid #7bb8be;background:#fff;color:#086f79;text-decoration:none;
  display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 14px;font-weight:850;line-height:1.25
}
.quick-link:hover{background:#e8f7f8}
.quick-danger{background:#d92a25;color:#fff;border-color:#d92a25}
.quick-danger:hover{background:#c81f1a}

/* Emergency block uses the exact start-page component and symbol. */
.depression-emergency{margin:0 auto 26px;width:100%}


/* FIX 11.08.2026 – emergency-number cards on topic pages.
   The start page now uses home-emergency-* classes; the topic pages still
   output emergency-service / emergency-police / emergency-medical. */
.depression-emergency .emergency-services{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  padding:22px 20px;
  background:#fffaf7;
}
.depression-emergency .emergency-service{
  box-sizing:border-box;
  width:100%;
  min-height:78px;
  padding:0 18px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  border:1px solid #f3b5aa;
  border-radius:15px;
  background:#fff;
  color:#17100c;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(94,39,28,.06);
}
.depression-emergency .emergency-service::before{
  grid-column:1;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:#fff2ef;
  border:1px solid #ffd1c9;
  color:#e72720;
  font-size:25px;
  line-height:1;
  font-weight:900;
  box-sizing:border-box;
}
.depression-emergency .emergency-police::before{content:"♢"}
.depression-emergency .emergency-medical::before{content:"✚"}
.depression-emergency .emergency-service span{
  grid-column:2;
  grid-row:1;
  min-width:0;
  color:#17100c;
  font-size:1.12rem;
  line-height:1.2;
  font-weight:900;
  text-decoration:none;
}
.depression-emergency .emergency-service strong{
  grid-column:3;
  grid-row:1;
  color:#e2251d;
  font-size:2.9rem;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  text-decoration:none;
}
@media (max-width:700px){
  .depression-emergency .emergency-services{padding:18px}
  .depression-emergency .emergency-service{grid-template-columns:44px minmax(0,1fr) auto;padding:0 14px;gap:10px;min-height:72px}
  .depression-emergency .emergency-service::before{width:38px;height:38px;font-size:22px}
  .depression-emergency .emergency-service strong{font-size:2.35rem}
  .depression-emergency .emergency-service span{font-size:1rem}
}

.depression-guidance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 20px}
.guidance-card{
  min-height:190px;padding:24px 28px;border-radius:15px;border:1px solid #dbe2e6;background:#fff;
  box-shadow:0 6px 18px rgba(23,39,59,.07)
}
.guidance-card h2{margin:0 0 12px;font-size:1.28rem;line-height:1.25;font-weight:900}
.guidance-card p{margin:0;line-height:1.62;color:#314256}
.guidance-red{border-left:5px solid #d92a25;background:#fff8f7}
.guidance-red h2{color:#b51d18}
.guidance-rose{border-left:5px solid #c84c63;background:#fff9fa}
.guidance-rose h2{color:#a53e52}
.guidance-blue{border-left:5px solid #0876bd;background:#f7fbff}
.guidance-blue h2{color:#075d9a}
.guidance-teal{border-left:5px solid #087987;background:#f7fcfc}
.guidance-teal h2{color:#086f79}

.direct-help-card{
  display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr) auto;gap:24px;align-items:center;
  margin:0 0 20px;padding:24px 28px;border:1px solid #9bc7cc;border-radius:15px;background:#eef8f9;
}
.direct-help-card[hidden]{display:none!important}
.direct-help-card h2{margin:0 0 7px;color:#086f79;font-size:1.32rem;font-weight:900}
.direct-help-card p{margin:5px 0;line-height:1.5}
.direct-help-name{font-weight:900;color:#08335a}
.direct-help-numbers{display:flex;flex-direction:column;gap:5px;font-size:1.28rem;font-weight:950;text-align:center}
.direct-help-numbers a{color:#b91f1a;text-decoration:none}
.direct-help-actions{display:flex;flex-direction:column;gap:9px}
.direct-help-actions a{
  min-width:160px;min-height:42px;display:flex;align-items:center;justify-content:center;padding:8px 13px;border-radius:8px;
  background:#087987;color:#fff;text-decoration:none;font-weight:850;text-align:center
}
.direct-help-general{grid-template-columns:1fr;background:#f4fafb}

.important-warning{
  margin:0 0 18px;padding:22px 26px;border:2px solid #df3c35;border-radius:14px;background:#fff4f3;text-align:center
}
.important-warning h2{margin:0 0 10px;color:#cf211b;font-size:1.28rem;font-weight:950}
.important-warning p{margin:0;color:#cf211b;line-height:1.55;font-weight:850}

/* Preserve left/right meaning for the visual layout while allowing RTL text. */
html[dir="rtl"] .depression-info-card, html[dir="rtl"] .guidance-card{text-align:right}

@media (max-width:980px){
  .depression-main{width:min(100% - 28px,920px);padding-top:24px}
  .depression-top-grid{grid-template-columns:1fr;gap:15px}
  .depression-info-card{min-height:0}
  .quick-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .depression-guidance-grid{grid-template-columns:1fr}
  .guidance-card{min-height:0}
  .direct-help-card{grid-template-columns:1fr;text-align:center;gap:15px}
  .direct-help-actions{flex-direction:row;justify-content:center;flex-wrap:wrap}
}
@media (max-width:720px){
  .depression-main{width:min(100% - 22px,720px);padding-top:18px}
  .depression-heading{margin-bottom:18px}
  .depression-heading h1{font-size:clamp(1.75rem,9vw,2.45rem)}
  .depression-info-card{padding:21px 20px}
  .quick-access{padding:17px 14px 18px}
  .quick-access-grid{grid-template-columns:1fr}
  .quick-link{min-height:46px}
  .guidance-card{padding:21px 20px}
  .direct-help-card{padding:21px 18px}
  .direct-help-actions{flex-direction:column;align-items:stretch}
  .direct-help-actions a{width:100%}
  .important-warning{padding:19px 17px}
}


/* Country-specific mental-health crisis contact */
.mental-help-card{
  margin:0 0 20px;padding:24px 28px;border:1px solid #9bc7cc;border-radius:15px;background:#eef8f9;
  box-shadow:0 8px 20px rgba(18,68,77,.06)
}
.mental-help-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.mental-help-heading-wrap h2{margin:0;color:#086f79;font-size:1.34rem;font-weight:950}
.mental-help-countryline{margin:5px 0 0;color:#3a5361;font-weight:700}
.mental-help-country-badge{
  display:flex;align-items:center;gap:10px;min-width:180px;justify-content:center;padding:9px 13px;border:1px solid #b9d8dc;
  border-radius:12px;background:#fff;color:#08335a
}
.mental-help-country-badge img{width:30px;height:21px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.mental-help-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(245px,.6fr);gap:24px;align-items:center}
.mental-help-org{margin:0 0 10px;color:#08335a;font-size:1.2rem;font-weight:950}
.mental-help-phone-label{font-size:.88rem;font-weight:850;color:#516b75;text-transform:uppercase;letter-spacing:.03em}
.mental-help-phone{margin:3px 0 10px;color:#b91f1a;font-size:1.48rem;font-weight:950;line-height:1.2}
.mental-help-pills{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}
.mental-help-pill{display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border-radius:999px;background:#fff;border:1px solid #b8dadd;color:#075f69;font-size:.86rem;font-weight:800}
.mental-help-pill-247{background:#e5f6ee;border-color:#a9d7c2;color:#176744}
.mental-help-detail{margin:10px 0 6px!important;color:#334f5a}
.mental-help-checked{margin:6px 0 0!important;color:#60767e;font-size:.87rem}
.mental-help-actions{display:flex;flex-direction:column;gap:9px}
.mental-help-action{
  min-height:46px;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;border-radius:9px;
  text-decoration:none;font-weight:900;text-align:center
}
.mental-help-call{background:#b91f1a;color:#fff;flex-direction:column;gap:1px}
.mental-help-call strong{font-size:1.05rem}
.mental-help-source{background:#087987;color:#fff}
.mental-help-source-note{margin:3px 0 0!important;color:#5b7079;font-size:.84rem;line-height:1.4;text-align:center}
.mental-help-unavailable{padding:18px 20px;border:1px solid #e3c886;border-radius:12px;background:#fffaf0}
.mental-help-unavailable h3{margin:0 0 8px;color:#8a5b00;font-size:1.16rem}
.mental-help-unavailable p{margin:7px 0;line-height:1.5}
.mental-help-emergency-note{font-weight:900;color:#b91f1a}
html[dir="rtl"] .mental-help-copy,html[dir="rtl"] .mental-help-unavailable{text-align:right}

@media (max-width:980px){
  .mental-help-header{align-items:stretch;flex-direction:column}
  .mental-help-country-badge{align-self:flex-start}
  .mental-help-main{grid-template-columns:1fr}
  .mental-help-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .mental-help-source-note{grid-column:1/-1}
}
@media (max-width:720px){
  .mental-help-card{padding:20px 17px}
  .mental-help-country-badge{width:100%;justify-content:flex-start}
  .mental-help-actions{grid-template-columns:1fr}
  .mental-help-source-note{grid-column:auto}
  .mental-help-phone{font-size:1.28rem}
}
