@media (min-width: 768px) {
    .float-phone {
        display: none !important;
    }
}

.elementor-element {
  padding: 0 !important;
}

.e-con-inner {
  max-width: 100% !important;

  padding: 0 !important;
  display: block !important;
}

.img__pt > img {
  height: 100% !important;
}

@font-face {
  font-family: "SFProDisplay";

  src: url("../font/SFProDisplay-Regular.ttf") format("truetype");

  font-weight: normal;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: "SF Pro";

  src: url("../font/SFProDisplay-Medium.ttf") format("truetype");

  font-weight: 500;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: "SF Pro";

  src: url("../font/SFProDisplay-Semibold.ttf") format("truetype");

  font-weight: 600;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: "SF Pro";

  src: url("../font/SFProDisplay-Bold.ttf") format("truetype");

  font-weight: 700;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: "Roboto";

  src: url("../font/Roboto-Bold.ttf") format("truetype");

  font-weight: 700;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: "Roboto";

  src: url("../font/Roboto-Medium.ttf") format("truetype");

  font-weight: 500;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: "Roboto";

  src: url("../font/Roboto-Regular.ttf") format("truetype");

  font-weight: normal;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: "Pacifico";

  src: url("../font/iCielPacifico.ttf") format("truetype");

  font-weight: normal;

  font-style: normal;

  font-display: swap;
}
.s-content h1 {
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}
.s-content h2 {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}
.s-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.s-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}
.s-content h5 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
}
.s-content h6 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
}
.s-content p img.aligncenter {
  margin: auto;
}
.s-content p img.alignleft {
  margin-right: auto;
}
.s-content p img.alignright {
  margin-left: auto;
}
.s-content figure{
    max-width: 100%!important;
}
.s-content a {
  color: #2f5aae;
  cursor: pointer;
  text-decoration: none;
}
.s-content ul,
.s-content ol {
  list-style: disc;
  padding: 1.25em;
}
.s-content li {
  margin-top: 10px;
}
.s-content ul li {
  margin-left: 1.3em;
}
.s-content strong {
  font-weight: bold;
}
.s-content i {
  font-style: italic;
}
.s-content table {
  width: 100% !important;
}
.s-content blockquote{
  font-style: italic;
  background: #ebebeb;
  padding: 1rem;
  border-left: 3px solid #1f72c2;
}
.s-content img{
  max-height: 100vh;
  object-fit: contain;
  padding: .5rem 0;
}
.mb-4 {
  margin-bottom: 1rem;
}
.section-new__detail,
.section-new__cate {
  padding: 1.5rem 0;
}
.slide-new__home {
  padding: 1rem 0 !important;
}
.slide-new__home .swiper-slide {
  height: auto;
}
.item-new {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.item-new .img {
  position: relative;
  display: block;
  padding-top: 66%;
  overflow: hidden;
}
.item-new .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.item-new .new-content {
  padding: 1rem;
}
.item-new .title {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.item-new .title:hover,
.item-new .title:focus {
  color: #1454a5;
}
.item-new .new-time {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 0.5rem;
}
.item-new .new-time i {
  margin-right: 0.5rem;
}
.item-new .short_content {
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 1.125rem;
  overflow: hidden;
  font-size: 1rem;
}
.pagination-new .swiper-pagination-bullet {
  transition: all 0.3s;
}
.pagination-new .swiper-pagination-bullet-active {
  width: 2rem;
  background: #1454a5;
  border-radius: 1rem;
}
.section-new__detail .title-new {
  font-weight: 600;
  font-size: 1.875rem;
  margin-bottom: 1rem;
}
.section-new__detail .new-time {
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
}
.section-new__detail .new-time i {
  margin-right: 0.5rem;
}
.title-new-sidebar {
  font-size: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 1rem;
}
.box-new-sidebar {
  border: 1px solid #ebebeb;
  border-radius: 1rem;
  padding: 1rem;
}
.item-new-sidebar {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  margin: 1rem auto;
}
.item-new-sidebar .image {
  width: 5rem;
  flex-shrink: 0;
  margin-right: 1rem;
}
.item-new-sidebar .image .img {
  position: relative;
  display: block;
  padding-top: 100%;
}
.item-new-sidebar .image .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.item-new-sidebar .title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-new-sidebar .new-time {
  font-size: 0.875rem;
  color: #888;
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 0;
}
.item-new-sidebar .new-time i {
  margin-right: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
@media (max-width: 1023px) {
  .mb-mb-4 {
    margin-bottom: 1rem;
  }
  .section-new__detail .title-new {
    font-size: 1.5rem;
  }
  .title-new-sidebar {
    font-size: 1.25rem;
  }
}

/* ── Category archive ── */
.cate-page-header {
  border-bottom: 2px solid #1454a5;
  padding-bottom: 0.75rem;
}
.cate-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.375rem;
}
.cate-page-desc {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.6;
}
.cate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 1023px) {
  .cate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .cate-grid {
    grid-template-columns: 1fr;
  }
}
.cate-empty {
  text-align: center;
  color: #888;
  padding: 3rem 0;
  font-size: 1rem;
}

/* ── Category pagination ── */
.cate-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.cate-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.cate-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.9375rem;
  color: #444;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cate-pagination .page-numbers:hover {
  background: #1454a5;
  color: #fff;
  border-color: #1454a5;
}
.cate-pagination .page-numbers.current {
  background: #1454a5;
  color: #fff;
  border-color: #1454a5;
  font-weight: 600;
}
.cate-pagination .page-numbers.dots {
  border: none;
  background: none;
  cursor: default;
}

/* ── Reading progress bar ── */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #1454a5;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #888;
}
.breadcrumb a {
  color: #1454a5;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb-sep {
  color: #bbb;
}

/* ── Category badges ── */
.cate-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cate-card {
  display: inline-block;
  padding: 0.2em 0.8em;
  border-radius: 999px;
  background: #1454a5;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.cate-card:hover {
  background: #0f3d82;
}

/* ── Post meta bar ── */
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #888;
}
.post-meta-bar i {
  margin-right: 0.375rem;
}

/* ── s-content TOC exclusion ── */
.s-content ul:not([class*="toc"]) li {
  list-style: disc;
}

/* ── Tag pills ── */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag-pill {
  display: inline-block;
  padding: 0.2em 0.8em;
  border-radius: 999px;
  border: 1px solid #1454a5;
  color: #1454a5;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.tag-pill:hover {
  background: #1454a5;
  color: #fff;
}

/* ── Author line ── */
.author-line {
  font-size: 0.9375rem;
  color: #555;
}

/* ── Related news ── */
.related-news-heading {
  font-size: 1.25rem;
  font-weight: 600;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 1rem;
}
.related-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.related-news-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ebebeb;
}
.related-news-thumb {
  display: block;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}
.related-news-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-news-body {
  padding: 0.625rem;
}
.related-news-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 0.375rem;
}
.related-news-card-title:hover {
  color: #1454a5;
}
.related-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #888;
}
@media (max-width: 575px) {
  .related-news-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Most Viewed sidebar ── */
.mv-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0.875rem 0;
}
.mv-rank {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.2rem;
}
.mv-rank-gold   { background: #F5A623; }
.mv-rank-silver { background: #9B9B9B; }
.mv-rank-bronze { background: #C27B2C; }
.mv-rank-grey   { background: #ccc; color: #555; }
.mv-thumb {
  flex-shrink: 0;
  display: block;
  width: 72px;
  height: 54px;
  border-radius: 4px;
  overflow: hidden;
}
.mv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mv-info {
  flex: 1;
  min-width: 0;
}
.mv-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.mv-title:hover {
  color: #1454a5;
}
.mv-meta {
  font-size: 0.75rem;
  color: #888;
}

/* ── Ad banners ── */
.ad-banner {
  border-radius: 8px;
  overflow: hidden;
}
.ad-banner a {
  display: block;
}
.ad-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Comments ── */
#comments {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ebebeb;
}
.comments-title,
.comment-reply-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #222;
}
.comment-reply-title small {
  margin-left: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
}
.comment-reply-title small a {
  color: #888;
  text-decoration: none;
}
.comment-reply-title small a:hover {
  color: #1454a5;
}

/* Comment list */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.comment-list .children {
  list-style: none;
  padding-left: 1.5rem;
  border-left: 2px solid #ebebeb;
  margin-top: 1rem;
}
.comment {
  padding: 1rem 0;
  border-bottom: 1px solid #ebebeb;
}
.comment:last-child {
  border-bottom: none;
}
.comment-body {
  display: flex;
  gap: 0.875rem;
}
.comment-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}
.comment-content-wrap {
  flex: 1;
  min-width: 0;
}
.comment-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}
.comment-author .fn {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #222;
  font-style: normal;
}
.comment-metadata a {
  font-size: 0.8125rem;
  color: #888;
  text-decoration: none;
}
.comment-metadata a:hover {
  color: #1454a5;
}
.comment-content p {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.comment-content p:last-child {
  margin-bottom: 0;
}
.reply {
  margin-top: 0.5rem;
}
.comment-reply-link {
  font-size: 0.8125rem;
  color: #1454a5;
  text-decoration: none;
  font-weight: 500;
}
.comment-reply-link:hover {
  text-decoration: underline;
}

/* Comment form */
#respond {
  margin-top: 2rem;
}
#commentform {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#commentform p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
#commentform label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #444;
}
#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9375rem;
  color: #222;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform textarea:focus {
  outline: none;
  border-color: #1454a5;
}
#commentform textarea {
  min-height: 120px;
  resize: vertical;
}
#commentform .form-submit {
  margin: 0;
}
#commentform #submit {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  background: #1454a5;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
#commentform #submit:hover {
  background: #0f3d82;
}
.must-log-in,
.logged-in-as {
  font-size: 0.875rem;
  color: #888;
}
.must-log-in a,
.logged-in-as a {
  color: #1454a5;
  text-decoration: none;
}
.must-log-in a:hover,
.logged-in-as a:hover {
  text-decoration: underline;
}
.comment-notes {
  font-size: 0.8125rem;
  color: #888;
}

/* Cookies consent checkbox — override column layout */
#commentform .comment-form-cookies-consent {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
#commentform .comment-form-cookies-consent input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin: 0;
  accent-color: #1454a5;
  cursor: pointer;
}
#commentform .comment-form-cookies-consent label {
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}
@media (min-width: 576px) {
  #commentform .comment-form-author-email {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  #commentform .comment-form-author-email > p {
    margin: 0;
  }
}
