/* Buyer Knowledge / SEO Article Hub — premium high-contrast edition.
   The hub lives in main content below sale.png, not inside the footer. */
.buyer-knowledge-section{
  position:relative;
  padding:52px 0 64px;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 0%,rgba(255,126,181,.23),transparent 31rem),
    radial-gradient(circle at 92% 16%,rgba(111,232,208,.12),transparent 28rem),
    linear-gradient(145deg,#2b0b1d 0%,#4a102d 48%,#250918 100%);
  color:#fff;
}
.buyer-knowledge-section:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);
  background-size:34px 34px;
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 96%);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 96%);
}
.buyer-knowledge-section:after{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:min(1180px,calc(100% - 32px));
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(255,210,230,.55),transparent);
}
.buyer-knowledge-section>.container{position:relative;z-index:1}
.buyer-knowledge-section .footer-articles{margin-top:0;padding:0;border-top:0}
.buyer-knowledge-section .footer-articles-head{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);
  gap:30px;
  align-items:end;
  padding:0 0 24px;
  margin-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,.13);
}
.buyer-knowledge-section .footer-articles-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  color:#ffe7f1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.buyer-knowledge-section .footer-articles-kicker:before{content:"✦";font-size:.72rem;color:#9ff0df}
.buyer-knowledge-section .footer-articles-head h3{
  margin:10px 0 0;
  color:#fff;
  font-size:clamp(1.45rem,2.55vw,2.15rem);
  line-height:1.28;
  text-wrap:balance;
  text-shadow:0 2px 16px rgba(25,3,14,.24);
}
.buyer-knowledge-section .footer-articles-head p{
  margin:0;
  max-width:580px;
  justify-self:end;
  color:#f4d9e5;
  font-size:.86rem;
  line-height:1.8;
  text-align:right;
}

.buyer-knowledge-section .footer-articles-side{
  justify-self:end;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:13px;
  max-width:580px;
}
.buyer-knowledge-section .footer-articles-side p{justify-self:auto}
.footer-articles-all{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  min-height:44px;
  padding:9px 10px 9px 16px;
  border-radius:999px;
  background:linear-gradient(135deg,#fff,#fff2f7);
  border:1px solid rgba(255,255,255,.82);
  color:#6f163f;
  font-size:.78rem;
  font-weight:950;
  box-shadow:0 10px 24px rgba(16,2,9,.18),inset 0 1px 0 #fff;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.footer-articles-all span:last-child{
  width:28px;height:28px;display:grid;place-items:center;border-radius:50%;
  background:#7b1646;color:#fff;font-size:.9rem;transition:transform .2s ease;
}
.footer-articles-all:hover{transform:translateY(-2px);background:#fff;box-shadow:0 15px 32px rgba(16,2,9,.25)}
.footer-articles-all:hover span:last-child{transform:translateX(2px)}
.footer-articles-all:focus-visible{outline:3px solid #9ff0df;outline-offset:4px}
.buyer-knowledge-section .footer-article-count{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.16);
  color:#fff;
}

.footer-articles{margin-top:30px;padding:28px 0 4px;border-top:1px solid rgba(255,255,255,.09)}
.footer-articles-head{display:flex;justify-content:space-between;gap:22px;align-items:end;margin-bottom:18px}
.footer-articles-kicker{font-size:.68rem;font-weight:950;letter-spacing:.13em;text-transform:uppercase;color:#ff9ec5}
.footer-articles-head h3{margin:4px 0 0;color:#fff;font-size:clamp(1.25rem,2.2vw,1.8rem);line-height:1.25}
.footer-articles-head p{margin:0;max-width:540px;color:#f1d6e3;font-size:.78rem;line-height:1.65;text-align:right}
.footer-article-count{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:28px;padding:0 9px;margin-left:8px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.1);font-size:.68rem;color:#fff;vertical-align:middle}
.footer-article-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}

/* Light cards against the deep plum section create reliable contrast and a premium editorial look. */
.footer-article-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border-radius:20px;
  background:linear-gradient(180deg,#fff 0%,#fff8fb 100%);
  border:1px solid rgba(255,255,255,.76);
  box-shadow:0 16px 38px rgba(18,2,10,.22),0 1px 0 rgba(255,255,255,.8) inset;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.footer-article-card:hover{
  transform:translateY(-5px);
  border-color:#ffd1e3;
  box-shadow:0 24px 52px rgba(18,2,10,.30),0 0 0 1px rgba(255,127,180,.08);
}
.footer-article-card:focus-visible{outline:3px solid #9ff0df;outline-offset:4px}
.footer-article-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#7b1646,#f05c9d)}
.footer-article-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease,filter .35s ease}
.footer-article-card:hover .footer-article-media img{transform:scale(1.04);filter:saturate(1.04) contrast(1.02)}
.footer-article-media:after{content:"";position:absolute;inset:auto 0 0;height:52%;background:linear-gradient(transparent,rgba(41,8,26,.72))}
.footer-article-tag{
  position:absolute;
  z-index:1;
  left:11px;
  bottom:10px;
  max-width:calc(100% - 22px);
  padding:6px 9px;
  border-radius:999px;
  background:rgba(46,8,29,.88);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  color:#fff;
  font-size:.63rem;
  font-weight:900;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-shadow:0 1px 4px rgba(0,0,0,.2);
}
.footer-article-body{display:flex;flex-direction:column;flex:1;padding:16px 16px 15px;color:#3c1829}
.footer-article-body h4{
  margin:0;
  color:#321020;
  font-size:.93rem;
  font-weight:900;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.footer-article-body p{
  margin:8px 0 13px;
  color:#674657;
  font-size:.72rem;
  line-height:1.72;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.footer-article-more{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding-top:11px;
  border-top:1px solid #f0dce5;
  font-size:.69rem;
  font-weight:950;
  color:#9f2158;
}
.footer-article-more span:last-child{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#fff0f6;
  border:1px solid #f6d6e4;
  color:#7b1646;
  transition:transform .2s ease,background .2s ease;
}
.footer-article-card:hover .footer-article-more span:last-child{transform:translateX(2px);background:#ffe2ee}

@media(max-width:980px){
  .buyer-knowledge-section .footer-articles-head{grid-template-columns:1fr;gap:12px;align-items:start}
  .buyer-knowledge-section .footer-articles-head p{justify-self:start;text-align:left;max-width:700px}
  .buyer-knowledge-section .footer-articles-side{justify-self:start;align-items:flex-start;max-width:700px}
  .footer-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .buyer-knowledge-section{padding:38px 0 46px}
  .buyer-knowledge-section .footer-articles-head{padding-bottom:18px;margin-bottom:16px}
  .buyer-knowledge-section .footer-articles-head h3{font-size:clamp(1.35rem,7vw,1.75rem)}
  .buyer-knowledge-section .footer-articles-head p{font-size:.8rem;line-height:1.68}
  .buyer-knowledge-section .footer-articles-side{width:100%;gap:10px}
  .footer-articles-all{width:100%;min-height:46px}
  .footer-articles-head{display:block}
  .footer-articles-head p{text-align:left;margin-top:7px}
  .footer-article-grid{grid-template-columns:1fr;gap:12px}
  .footer-article-card{display:grid;grid-template-columns:118px minmax(0,1fr);border-radius:18px}
  .footer-article-media{aspect-ratio:auto;min-height:138px}
  .footer-article-body{padding:13px 13px 12px}
  .footer-article-body h4{font-size:.86rem;-webkit-line-clamp:2}
  .footer-article-body p{font-size:.67rem;-webkit-line-clamp:2;margin:6px 0 9px}
  .footer-article-more{padding-top:8px}
}
@media(max-width:390px){
  .buyer-knowledge-section{padding:32px 0 40px}
  .footer-article-card{grid-template-columns:100px minmax(0,1fr)}
  .footer-article-media{min-height:132px}
  .footer-article-body{padding:11px}
  .footer-article-tag{left:7px;bottom:7px;max-width:calc(100% - 14px);font-size:.57rem;padding:5px 7px}
}
