/* ==================================================
  04. Shared Components
================================================== */

/* LINE icon
------------------------------ */

.mna-line-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: hidden;
}

.mna-line-icon svg {
  display: block;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  color: currentColor;
  fill: currentColor;
  stroke: none;
}

/* LINE button common
------------------------------ */

.single-nurse .mna-single-line-btn,
.post-type-archive-nurse .mna-nurse-line-btn,
.mna-front-line-btn,
.mna-front .mna-front-line-btn,
.mna-front .mna-front-nurse-line,
.mna-front .mna-nurse-line-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--mna-line) !important;
  background: var(--mna-line) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .04em;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: opacity .2s ease, transform .2s ease;
  overflow: hidden;
}

.single-nurse .mna-single-line-btn:hover,
.post-type-archive-nurse .mna-nurse-line-btn:hover,
.mna-front-line-btn:hover,
.mna-front .mna-front-line-btn:hover,
.mna-front .mna-front-nurse-line:hover,
.mna-front .mna-nurse-line-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
  color: #fff !important;
}

/* LINE button icon size safety
------------------------------ */

.single-nurse .mna-line-icon,
.post-type-archive-nurse .mna-line-icon,
.mna-front-line-btn .mna-line-icon,
.mna-front .mna-line-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
}

.single-nurse .mna-line-icon svg,
.post-type-archive-nurse .mna-line-icon svg,
.mna-front-line-btn .mna-line-icon svg,
.mna-front .mna-line-icon svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
}

.single-nurse .mna-single-line-btn .mna-btn-label,
.post-type-archive-nurse .mna-nurse-line-btn .mna-btn-label,
.mna-front-line-btn .mna-btn-label,
.mna-front .mna-btn-label {
  color: #fff !important;
  line-height: 1.4;
}

.single-nurse .mna-single-line-btn::before,
.single-nurse .mna-single-line-btn::after,
.post-type-archive-nurse .mna-nurse-line-btn::before,
.post-type-archive-nurse .mna-nurse-line-btn::after,
.mna-front-line-btn::before,
.mna-front-line-btn::after {
  content: none !important;
  display: none !important;
}

/* Detail / more links
------------------------------ */

.mna-more-link,
.mna-section-more,
.mna-front-detail-btn,
.mna-front-nurse-detail,
.mna-nurse-detail-link,
.mna-nurse-detail {
  color: var(--mna-text-muted);
  font-size: 13px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.mna-more-link::after,
.mna-section-more::after,
.mna-front-detail-btn::after,
.mna-front-nurse-detail::after,
.mna-nurse-detail-link::after,
.mna-nurse-detail::after {
  content: "〉";
  margin-left: 8px;
  color: var(--mna-gold);
}

/* Gold outline button
------------------------------ */

.mna-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #b89145;
  background: #fff;
  color: var(--mna-text);
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}

.mna-outline-btn::after {
  content: "〉";
  margin-left: 8px;
  color: var(--mna-gold);
}

/* Gold filled button
------------------------------ */

.mna-gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--mna-gold);
  background: var(--mna-gold);
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}

.mna-gold-btn::after {
  content: "〉";
  margin-left: 8px;
}

/* Hide SWELL default widgets on custom pages
------------------------------ */

.post-type-archive-nurse .l-sidebar,
.post-type-archive-case .l-sidebar,
.single-nurse .l-sidebar,
.single-case .l-sidebar,
.post-type-archive-nurse #sidebar,
.post-type-archive-case #sidebar,
.single-nurse #sidebar,
.single-case #sidebar,
.post-type-archive-nurse .c-widget,
.post-type-archive-case .c-widget,
.single-nurse .c-widget,
.single-case .c-widget {
  display: none !important;
}

.post-type-archive-nurse .l-mainContent,
.post-type-archive-case .l-mainContent,
.single-nurse .l-mainContent,
.single-case .l-mainContent,
.post-type-archive-nurse .l-mainContent__inner,
.post-type-archive-case .l-mainContent__inner,
.single-nurse .l-mainContent__inner,
.single-case .l-mainContent__inner,
.post-type-archive-nurse .post_content,
.post-type-archive-case .post_content,
.single-nurse .post_content,
.single-case .post_content {
  width: 100% !important;
  max-width: none !important;
}