.wrapper-content {
  overflow: hidden;
}

body {
  /* margin-top: 10px; */
  background: url(../images/background.png);
  /* background: #b3afaf url(../images/dEIfBHq.jpg); */
  background-size: cover;
  background-attachment: fixed;
}

.modal-footer {
  border-top: 0px;
}

.white-bg {
  background-color: #ffffff;
}

.avatar {
  background: url(../images/bg.png);
  padding: 2px;
  border-radius: 20%;
}

.btn-border {
  border-radius: 20% !important;
}

.btn-ghimbai {
  color: #FFF;
  background-color: #0ac2f5 !important;
  border-color: #046c89 !important;
}

.btn-info {
  color: #fff;
  background-color: #88c33d !important;
  border-color: #6b9733 !important;
}

.btn-info:hover {
  color: #fff;
  background-color: #6b9733 !important;
  border-color: #7ea949 !important;
}

.btn-primary {
  color: #fff;
  background-color: #8f34f5 !important;
  border-color: #6518bb !important;
}

.page-heading {
  border-top: 0;
  padding: 0 10px 20px 10px;
}

.forum-post-container .media {
  margin: 10px 10px 10px 10px;
  padding: 20px 10px 20px 10px;
  border-bottom: 1px solid #f1f1f1;
}

.forum-avatar {
  float: left;
  margin-right: 20px;
  text-align: center;
  width: 110px;
}

.forum-avatar .img-circle {
  height: 48px;
  width: 48px;
}

.author-info {
  color: #676a6c;
  font-size: 11px;
  margin-top: 5px;
  text-align: center;
}

.forum-post-info {
  padding: 9px 12px 6px 12px;
  background: #f9f9f9;
  border: 1px solid #f1f1f1;
}

.media-body>.media {
  background: #f9f9f9;
  border-radius: 3px;
  border: 1px solid #f1f1f1;
}

.forum-post-container .media-body .photos {
  margin: 10px 0;
}

.forum-photo {
  max-width: 140px;
  border-radius: 3px;
}

.media-body>.media .forum-avatar {
  width: 70px;
  margin-right: 10px;
}

.media-body>.media .forum-avatar .img-circle {
  height: 38px;
  width: 38px;
}

.mid-icon {
  font-size: 66px;
}

.forum-item {
  margin: 10px 0;
  padding: 10px 0 20px;
  border-bottom: 1px solid #f1f1f1;
}

.views-number {
  font-size: 24px;
  line-height: 18px;
  font-weight: 400;
}

.forum-container,
.forum-post-container {
  padding: 5px !important;
}

.forum-item small {
  color: #999;
}

.forum-item .forum-sub-title {
  color: #999;
  margin-left: 50px;
}

.forum-title {
  margin: 15px 0px 15px 5px;
}

.forum-info {
  text-align: center;
}

.forum-desc {
  color: #999;
}

.forum-icon {
  float: left;
  width: 30px;
  margin-right: 20px;
  text-align: center;
}

a.forum-item-title {
  color: inherit;
  display: block;
  font-size: 18px;
  font-weight: 600;
}

a.forum-item-title:hover {
  color: inherit;
}

.forum-icon .fa {
  font-size: 30px;
  margin-top: 8px;
  color: #9b9b9b;
}

.forum-item.active .fa {
  color: #1ab394;
}

.forum-item.active a.forum-item-title {
  color: #1ab394;
}

@media (max-width: 992px) {
  .forum-info {
    margin: 15px 0 10px 0;
    /* Comment this is you want to show forum info in small devices */
    display: none;
  }

  .forum-desc {
    float: none !important;
  }
}





.ibox {
  clear: both;
  margin-bottom: 25px;
  margin-top: 0;
  padding: 0;
}

.ibox.collapsed .ibox-content {
  display: none;
}

.ibox.collapsed .fa.fa-chevron-up:before {
  content: "\f078";
}

.ibox.collapsed .fa.fa-chevron-down:before {
  content: "\f077";
}

.ibox:after,
.ibox:before {
  display: table;
}

.ibox-title {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background-color: #ffffff;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 3px 0 0;
  color: inherit;
  margin-bottom: 0;
  padding: 14px 15px 7px;
  min-height: 48px;
}

.ibox-content {
  background-color: #FDF8DA;
  color: inherit;
  padding: 0 20px 20px 20px !important;
  border-color: rgb(207 149 89 / 0%);
  border-image: none;
  border-style: solid solid none;
  border-width: 1px 0;
  border-radius: 10px;
}

.ibox-footer {
  color: inherit;
  border-top: 1px solid #e7eaec;
  font-size: 90%;
  background: #ffffff;
  padding: 10px 15px;
}

.message-input {
  height: 90px !important;
}

.form-control,
.single-line {
  background-color: #FFFFFF;
  background-image: none;
  border: 1px solid #e5e6e7;
  border-radius: 1px;
  color: inherit;
  display: block;
  padding: 6px 12px;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
  width: 100%;
  font-size: 14px;
}

.text-navy {
  color: #1ab394;
}

.mid-icon {
  font-size: 66px !important;
}

.m-b-sm {
  margin-bottom: 3px;
}



.job-box-filter label {
  width: 100%;
}

.job-box-filter select.input-sm {
  display: inline-block;
  max-width: 120px;
  margin: 0 5px;
  border: 1px solid #e8eef1;
  border-radius: 2px;
  height: 34px;
  font-size: 15px;
}

.job-box-filter label input.form-control {
  max-width: 200px;
  display: inline-block;
  border: 1px solid #e8eef1;
  border-radius: 2px;
  height: 34px;
  margin-left: 5px;
  font-size: 15px;
}

.text-right {
  text-align: right;
}

.job-box-filter {
  padding: 12px 15px;
  background: #ffffff;
  border-bottom: 1px solid #e8eef1;
  margin-bottom: 20px;
}

.job-box {
  background: #ffffff;
  display: inline-block;
  width: 100%;
  padding: 0 0px 40px 0px;
  border: 1px solid #e8eef1;
}

.job-box-filter a.filtsec {
  margin-top: 8px;
  display: inline-block;
  margin-right: 15px;
  padding: 4px 10px;
  font-family: 'Quicksand', sans-serif;
  transition: all ease 0.4s;
  background: #edf0f3;
  border-radius: 50px;
  font-size: 13px;
  color: #81a0b1;
  border: 1px solid #e2e8ef;
}

.job-box-filter a.filtsec.active {
  color: #ffffff;
  background: #16262c;
  border-color: #16262c;
}

.job-box-filter a.filtsec i {
  color: #03A9F4;
  margin-right: 5px;
}

.job-box-filter a.filtsec:hover,
.job-box-filter a.filtsec:focus {
  color: #ffffff;
  background: #07b107;
  border-color: #07b107;
}

.job-box-filter a.filtsec:hover i,
.job-box-filter a.filtsec:focus i {
  color: #ffffff;
}

.job-box-filter h4 i {
  margin-right: 10px;
}

/*=====================================
Inbox Message Style
=======================================*/
.inbox-message ul {
  padding: 0;
  margin: 0;
}

.inbox-message ul li {
  background: #fff;
  list-style: none;
  position: relative;
  padding: 15px 20px;
  border-bottom: 1px solid #fff3cd;
}

.inbox-message ul li:hover,
.inbox-message ul li:focus {
  background: #fff;
}

.inbox-message .message-avatar {
  position: absolute;
  left: 5px;
  width: 80px;
  top: 70px;
  transform: translateY(-50%);
}

.message-avatar img {
  display: inline-block;
  height: 54px;
}

.inbox-message .message-body {
  padding-top: 18px;
  margin-left: 85px;
  font-size: 15px;
  color: #323232;
}

.message-body-heading h5 {
  font-weight: 600;
  display: inline-block;
  color: #62748F;
  margin: 0 0 7px 0;
  padding: 0;
}

.message-body h5 span {
  border-radius: 50px;
  line-height: 14px;
  font-size: 12px;
  color: #fff;
  font-style: normal;
  padding: 4px 10px;
  margin-left: 5px;
  margin-top: -5px;
}

.message-body h5 span.unread {
  background: #07b107;
}

.message-body h5 span.important {
  background: #dd2027;
}

.message-body h5 span.pending {
  background: #2196f3;
}

.message-body-heading span {
  float: right;
  color: #62748F;
  font-size: 14px;
}

.messages-inbox .message-body p {
  margin: 0;
  padding: 0;
  line-height: 27px;
  font-size: 15px;
}

.box_name_eman {
  padding-top: 5px;
  font-size: small;
}

a:hover {
  text-decoration: none;
}


/* .btn {
  border-radius: 0;
  border: 0;
  border-bottom: 4px solid #000000;
  margin: 0;
  -webkit-box-shadow: 0 5px 5px -6px rgba(230, 233, 15, 0.901);
  -moz-box-shadow: 0 5px 5px -6px rgba(230, 233, 15, 0.901);
  box-shadow: 0 5px 10px rgba(255, 215, 0, 0.8);
} */

.btn .btn-block:active,
.btn .btn-lg:active {
  -webkit-box-shadow: inset 0 3px 3px -5px rgba(0, 0, 0, .3);
  -moz-box-shadow: inset 0 3px 3px -5px rgba(0, 0, 0, .3);
  box-shadow: inset 0 3px 3px -5px rgba(0, 0, 0, .3);
}

.btn-default {
  color: #555;
  background-color: #f9f9f9;
  border-color: #cacaca;
  text-shadow: 1px 1px 0 #f5f5f5;
}

.btn-default:hover,
.btn-default:focus {
  background-color: #f4f4f4;
  border-color: #bebebe;
}

.btn-success {
  background-color: #80d752;
  border-color: #61be26;
  text-shadow: 1px 1px 0 #5fdb34;
  border-radius: 15px;
}

.btn-success:hover,
.btn-success:focus {
  background-color: #75cd53;
  border-color: #53aa27;
}

.btn-info {
  background-color: #39b3d7;
  border-color: #348fd2;
  /* text-shadow: 1px 1px 0 #dba93d; */
}

.btn-info:hover,
.btn-info:focus {
  background-color: #45abcd;
  border-color: #347abe;
}

.btn-warning {
  background-color: #FEAF20;
  border-color: #d79a34;
  text-shadow: 1px 1px 0 #db9e34;
}

.btn-warning:hover,
.btn-warning:focus {
  background-color: #f5a620;
  border-color: #cd9034;
}

.btn-dark {
  background-color: #464646;
  border-color: #000000;
  text-shadow: 1px 1px 0 #000000;
}

.btn-danger {
  background-color: #d73814;
  border-color: #be0000;
  text-shadow: 1px 1px 0 #ac2925;
}

.btn-danger:hover,
.btn-danger:focus {
  background-color: #cd3714;
  border-color: #aa0000;
}

.btn-primary {
  background-color: #4274d7;
  border-color: #4d5bbe;
  text-shadow: 1px 1px 0 #8f34f5;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #426acd;
  border-color: #4f56aa;
}

.btn-magick {
  color: #fff;
  background-color: #9d5331;
  border-color: #6e3a21;
  text-shadow: 1px 1px 0 #9d5331;
}

.btn-magick:hover,
.btn-magick:focus {
  color: #fff;
  background-color: #ff99cc;
  border-color: #a55f3e;
}

.btn-pressure {
  position: relative;
  margin-bottom: 0;
}

.btn-pressure:focus {
  -moz-outline-style: none;
  outline: medium none;
}

.btn-pressure:active,
.btn-pressure.active {
  top: 4px;
  border: 0;
  position: relative;
}

.btn-sensitive:active,
.btn-sensitive.active {
  top: 1px;
  margin-top: 4px;
}

.post-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.post-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f1f1f1;
}

.post-card-body {
    padding: 18px;
}

.post-card-body h5 {
    font-size: 18px;
    min-height: 48px;
}

.post-card-body p {
    color: #666;
    min-height: 72px;
}

.post-content {
    white-space: pre-line;
    line-height: 1.8;
    color: #333;
}

.quick-link-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    height: 100%;
    color: #333;
    text-decoration: none;
}

.quick-link-card:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.notice-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice-feed-home {
  margin-top: 8px;
}

.notice-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.notice-avatar-wrap {
  flex: 0 0 64px;
}

.notice-avatar,
.post-author-avatar,
.comment-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 174, 32, 0.45);
  background: #fff7df;
}

.notice-body,
.comment-body {
  flex: 1;
  min-width: 0;
}

.notice-meta,
.post-author-meta,
.comment-head {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  color: #7b7b7b;
  font-size: 14px;
}

.notice-title {
  margin: 10px 0 8px;
  font-size: 22px;
}

.notice-title a {
  color: #2d2d2d;
}

.notice-summary {
  margin-bottom: 12px;
  color: #5f5f5f;
  line-height: 1.7;
}

.author-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff2c7;
  color: #925b00;
  font-size: 12px;
  font-weight: 700;
}

.post-detail-header {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.post-author-name {
  font-size: 20px;
  font-weight: 700;
  color: #2e2e2e;
}

.notice-summary-box {
  background: #fff8dc;
  border-left: 4px solid #ffb347;
  padding: 14px 16px;
  border-radius: 12px;
  margin: 18px 0 22px;
  line-height: 1.75;
}

.rich-post-content {
  color: #333;
  line-height: 1.85;
  font-size: 16px;
}

.rich-post-content p,
.rich-post-content ul,
.rich-post-content ol,
.rich-post-content blockquote,
.rich-post-content h1,
.rich-post-content h2,
.rich-post-content h3,
.rich-post-content h4 {
  margin-bottom: 16px;
}

.rich-post-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.rich-post-content a {
  color: #af5c00;
  word-break: break-word;
}

.rich-post-content blockquote {
  background: #fff6d7;
  border-left: 4px solid #ffb347;
  padding: 12px 16px;
  border-radius: 10px;
}

.post-editor-shell {
  position: relative;
}

.editor-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notice-editor {
  min-height: 360px;
  padding: 18px;
  border: 2px dashed #d8be73;
  border-radius: 16px;
  background: #fffdf3;
  line-height: 1.8;
  outline: none;
}

.notice-editor.is-dragover {
  border-color: #ff9900;
  background: #fff4d1;
}

.notice-editor img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
  border-radius: 14px;
}

.editor-hint,
.comment-login-box {
  color: #6f6f6f;
  line-height: 1.7;
}

.comment-form textarea {
  border-radius: 14px;
  padding: 12px 14px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comment-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  background: #fffaf0;
  border: 1px solid rgba(255, 179, 71, 0.18);
}

.comment-avatar {
  width: 52px;
  height: 52px;
}

.comment-time {
  color: #8a8a8a;
  font-size: 13px;
}

.comment-text {
  margin-top: 6px;
  color: #333;
  line-height: 1.75;
  word-break: break-word;
}

@media (max-width: 767.98px) {
  .notice-item,
  .comment-item,
  .post-detail-header {
    flex-direction: column;
  }

  .notice-avatar-wrap,
  .notice-avatar,
  .post-author-avatar,
  .comment-avatar {
    width: 56px;
    height: 56px;
  }

  .notice-title {
    font-size: 19px;
  }

  .rich-post-content {
    font-size: 15px;
  }

  .notice-editor {
    min-height: 280px;
    padding: 14px;
  }
}


.notice-page-shell {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.notice-alert {
  margin-bottom: 0;
  border-radius: 18px;
  border: 1px solid #ecd58f;
  box-shadow: none;
  color: inherit;
}

.notice-feed {
  gap: 14px;
}

.notice-item {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.notice-feed-home .notice-alert {
  min-height: 140px;
}

.post-detail,
.comments-wrap {
  padding: 20px;
}

.comment-item {
  background: rgba(255, 255, 255, 0.28);
}

.pagination-wrap a,
.pagination-wrap span {
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767.98px) {
  .post-detail,
  .comments-wrap,
  .notice-alert {
    padding: 16px;
  }
}


/* Login image captcha */
.login-captcha-row {
  display: flex;
  align-items: stretch;
  gap: 9px;
  margin: 8px 0 3px;
}

.login-captcha-input-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.login-captcha-input-wrap .login-captcha-input {
  height: 42px !important;
  margin: 0 !important;
  padding-left: 38px !important;
  border-radius: 10px !important;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.login-captcha-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  z-index: 3;
  color: #2187c5;
  font-size: 17px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.login-captcha-image {
  flex: 0 0 130px;
  width: 130px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 3px;
  background: #f3f3f3;
  object-fit: cover;
  cursor: pointer;
  user-select: none;
}

.login-captcha-help {
  margin: 2px 0 8px;
  color: #9f94aa;
  font-size: 11px;
  text-align: right;
}

.auth-turnstile {
  display: flex;
  justify-content: center;
  min-height: 65px;
}

@media (max-width: 380px) {
  .login-captcha-row {
    gap: 6px;
  }

  .login-captcha-image {
    flex-basis: 118px;
    width: 118px;
  }

  .login-captcha-input-wrap .login-captcha-input {
    padding-left: 32px !important;
    font-size: 13px !important;
  }

  .login-captcha-icon {
    left: 9px;
  }
}

/* Auth captcha: giữ ảnh luôn nằm đúng khung ở Login/Register */
.login-captcha-image {
  display: block;
  max-width: none;
  overflow: hidden;
}

.login-captcha-input-wrap,
.login-captcha-image {
  box-sizing: border-box;
}

/* Notice detail balanced layout + automatic list rendering */
.notice-detail-shell {
  max-width: 100%;
}

.notice-detail-card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 24px 28px !important;
  border-radius: 18px !important;
}

.notice-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.notice-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  line-height: 1.35;
  font-weight: 600;
}

.notice-detail-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.notice-action-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 38px;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.notice-detail-author-row {
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.notice-detail-author-text {
  min-width: 0;
}

.post-detail-title {
  margin: 0 0 22px;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.2px;
  word-break: break-word;
}

.notice-content-rendered {
  margin-top: 0 !important;
  max-width: 100%;
  line-height: 1.85;
}

.notice-content-rendered .notice-content-title {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.35;
  font-weight: 800;
}

.notice-content-rendered .notice-content-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 12px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
}

.notice-content-rendered .notice-content-section:first-child {
  margin-top: 0;
}

.notice-content-rendered .notice-content-section::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(155, 89, 182, .12);
}

.notice-content-rendered .notice-number-list,
.notice-content-rendered .notice-bullet-list {
  margin: 10px 0 18px;
  padding-left: 0;
  display: grid;
  gap: 8px;
}

.notice-content-rendered .notice-number-list {
  counter-reset: noticeItem;
  list-style: none;
}

.notice-content-rendered .notice-number-list > li {
  counter-increment: noticeItem;
  position: relative;
  min-height: 28px;
  padding-left: 42px;
}

.notice-content-rendered .notice-number-list > li::before {
  content: counter(noticeItem);
  position: absolute;
  left: 0;
  top: .14em;
  width: 27px;
  height: 27px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #9b59b6, #c06fdf);
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
}

.notice-content-rendered .notice-bullet-list {
  list-style: none;
}

.notice-content-rendered .notice-bullet-list > li {
  position: relative;
  padding-left: 30px;
}

.notice-content-rendered .notice-bullet-list > li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .78em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c06fdf;
  box-shadow: 0 0 0 4px rgba(192, 111, 223, .14);
}

.notice-content-rendered .notice-content-note {
  margin: 16px 0 20px;
  padding: 12px 14px 12px 42px;
  border-radius: 14px;
  position: relative;
  line-height: 1.75;
  background: rgba(255, 243, 198, .75);
  border: 1px solid rgba(214, 163, 59, .35);
}

.notice-content-rendered .notice-content-note::before {
  content: "\f06a";
  font-family: FontAwesome;
  position: absolute;
  left: 15px;
  top: 12px;
  color: #d68d12;
}

.notice-content-rendered .notice-content-image {
  margin: 18px 0;
}

.notice-content-rendered .notice-content-image img {
  margin: 0 auto;
}

.notice-content-rendered .notice-content-divider {
  border: 0;
  border-top: 1px solid rgba(155, 89, 182, .22);
  margin: 24px 0;
}

@media (max-width: 767.98px) {
  .notice-detail-card {
    padding: 16px !important;
  }

  .notice-detail-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .notice-detail-actions {
    justify-content: flex-start;
  }

  .notice-action-btn {
    min-width: 56px;
  }

  .notice-content-rendered .notice-number-list > li {
    padding-left: 38px;
  }
}


/* Patch 44: flatter, balanced notice content rhythm */
.notice-content-rendered {
  line-height: 1.72 !important;
  font-size: 14px;
}

.notice-content-rendered .notice-content-title {
  margin: 0 0 22px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(155, 89, 182, .16);
  font-size: clamp(22px, 2.8vw, 29px) !important;
  letter-spacing: -.35px;
}

.notice-content-rendered .notice-content-section {
  display: block !important;
  margin: 28px 0 12px !important;
  padding: 0 0 9px 0 !important;
  border-bottom: 1px solid rgba(155, 89, 182, .14);
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
}

.notice-content-rendered .notice-content-section::before {
  display: none !important;
  content: none !important;
}

.notice-content-rendered .notice-number-list,
.notice-content-rendered .notice-bullet-list {
  margin: 10px 0 14px !important;
  padding: 0 !important;
  display: grid !important;
  gap: 9px !important;
}

.notice-content-rendered .notice-number-list {
  counter-reset: noticeItem;
  list-style: none !important;
}

.notice-content-rendered .notice-number-list > li,
.notice-content-rendered .notice-bullet-list > li {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  min-height: 0 !important;
  padding-left: 0 !important;
  line-height: 1.7;
}

.notice-content-rendered .notice-number-list > li {
  counter-increment: noticeItem;
}

.notice-content-rendered .notice-number-list > li::before {
  content: counter(noticeItem) "." !important;
  position: static !important;
  grid-column: 1;
  width: 30px !important;
  height: auto !important;
  border-radius: 0 !important;
  display: block !important;
  padding-top: 0;
  color: #d49be8 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: right;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.7 !important;
}

.notice-content-rendered .notice-bullet-list {
  list-style: none !important;
}

.notice-content-rendered .notice-bullet-list > li::before {
  content: "" !important;
  position: static !important;
  grid-column: 1;
  justify-self: end;
  align-self: start;
  width: 8px !important;
  height: 8px !important;
  margin-top: .62em;
  border-radius: 999px;
  background: #c06fdf !important;
  box-shadow: 0 0 0 3px rgba(192, 111, 223, .12) !important;
}

.notice-content-rendered .notice-content-paragraph,
.notice-content-rendered > p {
  margin: 10px 0 17px !important;
  line-height: 1.76;
}

.notice-content-rendered .notice-content-note {
  margin: 12px 0 16px !important;
  padding: 10px 13px 10px 40px !important;
  border-radius: 10px !important;
  line-height: 1.72 !important;
  background: rgba(155, 89, 182, .06) !important;
  border: 1px solid rgba(155, 89, 182, .16) !important;
  border-left: 3px solid rgba(212, 155, 232, .72) !important;
}

.notice-content-rendered .notice-content-note::before {
  left: 14px !important;
  top: 10px !important;
  font-size: 13px;
}

@media (max-width: 767.98px) {
  .notice-content-rendered { font-size: 13px; }
  .notice-content-rendered .notice-number-list > li,
  .notice-content-rendered .notice-bullet-list > li {
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 8px;
  }
  .notice-content-rendered .notice-number-list > li::before { width: 26px !important; }
}
