/* PTF news section v1.3.32 */
.ptfh-section-news{background:#f8f8f8;color:#111;padding:64px 0 76px}
.ptfh-section-news .ptfh-shell{width:min(1360px,calc(100% - 44px))}
.ptfh-news-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.ptfh-home .ptfh-news-head h2{margin:0;color:#111;font-size:clamp(24px,2vw,34px);font-weight:800;line-height:1.2;text-transform:uppercase}
.ptfh-news-all{border:1px solid #ed2734;border-radius:5px;color:#d71929!important;padding:12px 20px;font-size:14px;font-weight:700;white-space:nowrap;transition:background .2s,color .2s}
.ptfh-news-all:hover{background:#d71929;color:#fff!important}
.ptfh-news-panel{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.88fr);gap:26px;padding:30px;border:1px solid #e1e1e1;border-radius:5px;background:#fff}
.ptfh-news-feature,.ptfh-news-side{min-width:0}
.ptfh-news-feature-image,.ptfh-news-small-image{display:block;overflow:hidden;border-radius:5px;background:#eee}
.ptfh-news-feature-image{aspect-ratio:1.51/1}
.ptfh-news-image{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}
.ptfh-news-feature-image:hover img,.ptfh-news-small-image:hover img{transform:scale(1.04)}
.ptfh-news-feature h3{font-size:22px;line-height:1.35;margin:18px 0 10px;font-weight:750}
.ptfh-news-feature h3 a,.ptfh-news-small h3 a{color:#111!important}
.ptfh-news-feature h3 a:hover,.ptfh-news-small h3 a:hover{color:#d71929!important}
.ptfh-news-feature p{margin:0;font-size:16px;line-height:1.65;color:#3c3c3c;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ptfh-news-side{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:18px}
.ptfh-news-small{display:grid;grid-template-columns:minmax(0,43%) 1fr;align-items:center;gap:18px;min-width:0}
.ptfh-news-small-image{height:100%;min-height:98px;max-height:145px}
.ptfh-news-small h3{font-size:16px;font-weight:750;line-height:1.5;margin:0}
.ptfh-news-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#e7e7e7,#d4d4d4)}
.ptfh-news-empty{color:#555}
@media(max-width:900px){.ptfh-news-panel{grid-template-columns:1fr;gap:26px}.ptfh-news-side{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}.ptfh-news-small{grid-template-columns:40% 1fr}.ptfh-news-small-image{aspect-ratio:1.45/1;height:auto}}
@media(max-width:600px){.ptfh-section-news{padding:45px 0}.ptfh-section-news .ptfh-shell{width:calc(100% - 28px)}.ptfh-news-panel{padding:14px;gap:20px}.ptfh-news-head h2{font-size:22px}.ptfh-news-all{font-size:12px;padding:10px 12px}.ptfh-news-feature h3{font-size:19px}.ptfh-news-feature p{font-size:14px}.ptfh-news-side{grid-template-columns:1fr;gap:14px}.ptfh-news-small{grid-template-columns:40% 1fr;gap:12px}.ptfh-news-small-image{min-height:80px}.ptfh-news-small h3{font-size:14px}}

/* v1.7.1 — News visual language matches Product Groups.
   Layout grid, image ratios, article order and desktop/tablet/mobile breakpoints
   are intentionally unchanged. */
.ptfh-home .ptfh-section-news {
  background:#fffaf5;
  color:#162b49;
}
.ptfh-home .ptfh-section-news .ptfh-news-head {
  gap:16px;
  margin-bottom:clamp(16px,1.8vw,27px);
}
.ptfh-home .ptfh-section-news .ptfh-news-head h2 {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
  font-size:clamp(20px,1.65vw,25px);
  font-weight:800;
  font-style:normal;
  letter-spacing:-.025em;
  line-height:1.22;
  color:#0b326d;
}
.ptfh-home .ptfh-section-news .ptfh-news-head h2::before {
  content:"";
  display:block;
  flex:none;
  width:7px;
  height:clamp(23px,2vw,34px);
  border-radius:2px;
  background:#ff7900;
  transform:none;
}
.ptfh-home .ptfh-section-news .ptfh-news-all {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  min-height:44px;
  padding:12px 23px;
  border:1px solid #ff9b27;
  border-radius:999px;
  background:linear-gradient(135deg,#ff9116,#f66b00);
  color:#fff!important;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
  box-shadow:0 5px 13px rgba(239,105,0,.18);
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease;
}
.ptfh-home .ptfh-section-news .ptfh-news-all:hover {
  background:linear-gradient(135deg,#ff9f25,#e96500);
  color:#fff!important;
  transform:translateY(-2px);
  box-shadow:0 7px 17px rgba(239,105,0,.26);
}
.ptfh-home .ptfh-section-news .ptfh-news-all span {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:17px;
  line-height:1;
}
.ptfh-home .ptfh-section-news .ptfh-news-panel {
  padding:clamp(18px,2vw,32px);
  border:1px solid rgba(8,48,105,.07);
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 28px rgba(10,40,88,.055);
}
.ptfh-home .ptfh-section-news .ptfh-news-feature-image,
.ptfh-home .ptfh-section-news .ptfh-news-small-image {
  border-radius:13px;
  background:#f6f8fb;
  border:1px solid #e6eaf0;
}
.ptfh-home .ptfh-section-news .ptfh-news-feature h3 a,
.ptfh-home .ptfh-section-news .ptfh-news-small h3 a {
  color:#162b49!important;
}
.ptfh-home .ptfh-section-news .ptfh-news-feature h3 a:hover,
.ptfh-home .ptfh-section-news .ptfh-news-small h3 a:hover {
  color:#f56b00!important;
}
.ptfh-home .ptfh-section-news .ptfh-news-feature p {
  color:#586477;
}
.ptfh-home .ptfh-section-news .ptfh-news-placeholder {
  background:linear-gradient(135deg,#f2f5fa,#e6eaf0);
}
@media(max-width:767px) {
  .ptfh-home .ptfh-section-news .ptfh-news-head h2 {
    gap:9px;
    font-size:clamp(19px,5.8vw,25px);
  }
  .ptfh-home .ptfh-section-news .ptfh-news-head h2::before {
    width:6px;
    height:26px;
  }
  .ptfh-home .ptfh-section-news .ptfh-news-panel {
    padding:16px 12px;
    border-radius:13px;
  }
  .ptfh-home .ptfh-section-news .ptfh-news-feature-image,
  .ptfh-home .ptfh-section-news .ptfh-news-small-image {
    border-radius:10px;
  }
  .ptfh-home .ptfh-section-news .ptfh-news-all {
    min-height:41px;
    padding:10px 15px;
    gap:6px;
    font-size:12px;
  }
}
@media(max-width:420px) {
  .ptfh-home .ptfh-section-news .ptfh-news-head {gap:8px;}
  .ptfh-home .ptfh-section-news .ptfh-news-head h2 {font-size:clamp(18px,5vw,21px);}
  .ptfh-home .ptfh-section-news .ptfh-news-all {padding:9px 12px;font-size:11px;}
}
@media(prefers-reduced-motion:reduce) {
  .ptfh-home .ptfh-section-news .ptfh-news-all {transition:none!important;}
}

/* v1.7.2 — News: no top padding; retain bottom and horizontal spacing. */
.ptfh-home .ptfh-section-news { padding-top: 0 !important; }


/* ==========================================================
   HUY HUNG SPORT v2.0.8 - News title + all button INSIDE card
   A single unified white surface wraps the heading and posts.
   The outer section remains full width and header-aligned.
   ========================================================== */
.ptfh-home .ptfh-section-news .ptfh-news-card {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(18px, 2.15vw, 32px);
  background: #fff;
  border: 1px solid #e1e7f0;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(11,50,109,.055);
}
.ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0 0 22px;
  padding: 0 0 18px;
  border-bottom: 0;
}
.ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-empty {
  margin: 0;
  color: #586477;
}
@media (max-width: 767px) {
  .ptfh-home .ptfh-section-news .ptfh-news-card {
    padding: 16px 12px;
    border-radius: 13px;
  }
  .ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-head {
    padding-bottom: 14px;
    margin-bottom: 17px;
  }
}



/* ==========================================================
   HUY HUNG SPORT v2.0.10 - News CTA below posts, centered
   No divider under heading; one unified white content panel.
   ========================================================== */
.ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-head {
  display: block !important;
  width: 100%;
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-head::before,
.ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-head::after {
  content: none !important;
  display: none !important;
}
.ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-footer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-footer > .ptfh-news-all {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  position: static !important;
  float: none !important;
  width: auto !important;
  min-width: 148px;
  text-align: center;
}
@media (max-width: 767px) {
  .ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-head {
    margin-bottom: 16px !important;
  }
  .ptfh-home .ptfh-section-news .ptfh-news-card > .ptfh-news-footer {
    margin-top: 22px !important;
  }
}
