/** Wayo News / Blog — scoped styling, manual + WP post sources. */
.pk-news-section {
  --pk-news-radius:4px;
  --pk-news-line:var(--pk-blue,#529cb0);
  --pk-news-delay:600ms;
  --pk-news-duration:800ms;
  width:100%;min-width:0;position:relative;
  padding:var(--pk-section-space,100px) 0;
  background:var(--pk-light,#eef2f2);
  overflow:clip;
}
.pk-news-section *, .pk-news-section *::before,.pk-news-section *::after{box-sizing:border-box}
.pk-news-section .base-container{width:100%;max-width:var(--pk-container,1340px);min-width:0;margin-inline:auto;padding-inline:15px}
.pk-news-section .news-title-wrapper{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:60px}
.pk-news-section .news-title-wrapper h2{font-family:var(--pk-font-heading,'Agdasima',sans-serif);font-size:var(--pk-h2-size,70px);line-height:.92;font-weight:var(--pk-heading-weight,700);letter-spacing:-.025em;text-transform:uppercase;color:var(--pk-dark,#313432);margin:0}
.pk-news-section .button-wrapper-desk{display:flex;justify-content:flex-end;flex-shrink:0}
.pk-news-section .button-wrapper-mob{display:none}
.pk-news-section .primary-button.green{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 30px;background:var(--pk-primary,#5d9e53);border:1px solid var(--pk-primary,#5d9e53);border-radius:var(--pk-button-radius,4px);color:var(--pk-light,#eef2f2);font-family:var(--pk-font-heading,'Agdasima',sans-serif);font-size:var(--pk-body-size,16px);font-weight:700;line-height:1.2;text-transform:uppercase;white-space:nowrap;text-decoration:none;overflow:hidden;cursor:pointer}
.pk-news-section .primary-button .clip{display:inline-flex;overflow:hidden;line-height:1.2}
.pk-news-section .primary-button .button-text{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}
.pk-news-section .primary-button .gsap_split_word{display:inline-flex;white-space:nowrap}
.pk-news-section .primary-button .gsap_split_letter{display:inline-block;will-change:transform,opacity}
.pk-news-section .pk-news-space{white-space:pre}
.pk-news-section .primary-button:is(:hover,:focus-visible) .gsap_split_letter{animation:pk-news-letter .3s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--pk-news-letter) * 38ms)}
@keyframes pk-news-letter{from{transform:translate3d(30px,0,0);opacity:0}to{transform:translate3d(0,0,0);opacity:1}}
.pk-news-section .news-wrapper{display:flex;align-items:stretch;justify-content:space-between;gap:16px;min-width:0}
.pk-news-section .collection-list-wrapper-first-column,.pk-news-section .collection-list-wrapper-second-column{width:calc(50% - 8px);min-width:0}
.pk-news-section .collection-list-wrapper-first-column{display:flex;flex-direction:column}
.pk-news-section .collection-list-wrapper-second-column,.pk-news-section .collection-list-wrapper-third-column{display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;gap:16px;min-width:0}
.pk-news-section .collection-list-wrapper-third-column{display:none}
.pk-news-section .collection-item-first-column,.pk-news-section .collection-item-second-column,.pk-news-section .collection-item-third-column{min-width:0;display:flex;flex-direction:column}
.pk-news-section .collection-item-first-column{height:100%;min-height:0}
.pk-news-section .collection-item-second-column{flex:1 1 0;min-height:0}
.pk-news-section .collection-item-third-column{min-height:0}
.pk-news-section .link-image-news-big,.pk-news-section .link-image-news-medium,.pk-news-section .link-image-news-small{display:block;min-width:0;position:relative;isolation:isolate;border-radius:var(--pk-news-radius);overflow:hidden;flex-shrink:0;text-decoration:none;background:var(--pk-border,#d2d9d9)}
.pk-news-section .link-image-news-big{height:610px}
.pk-news-section .link-image-news-medium{height:211px}
.pk-news-section .link-image-news-small{height:220px}
.pk-news-section .image-news{width:100%;height:100%;object-fit:cover;object-position:center;max-width:none;display:block;border-radius:inherit;transition:transform 350ms ease;transform:scale(1)}
.pk-news-section .link-image-news-big:hover .image-news,.pk-news-section .link-image-news-medium:hover .image-news,.pk-news-section .link-image-news-small:hover .image-news{transform:scale(1.1)}
.pk-news-section .pk-news-image-placeholder{display:block;width:100%;height:100%;background:var(--pk-border,#d2d9d9)}
.pk-news-section .news-item-bottom-content{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:12px;width:100%;min-width:0;margin-top:16px;padding-bottom:16px;border-bottom:2px solid var(--pk-news-line)}
.pk-news-section .date{font-family:var(--pk-font-body,'Geist',sans-serif);color:var(--pk-blue,#529cb0);font-size:14px;line-height:1.2;font-weight:700;letter-spacing:.02em}
.pk-news-section .news-item-description{display:flex;flex-direction:column;gap:20px;max-width:450px;min-width:0}
.pk-news-section .post-title,.pk-news-section .post-title-large{display:inline-block;font-family:var(--pk-font-heading,'Agdasima',sans-serif);font-size:34px;line-height:.9;font-weight:700;letter-spacing:-.025em;text-transform:uppercase;color:var(--pk-dark,#313432);text-decoration:none;overflow-wrap:break-word;transition:color 250ms ease}
.pk-news-section .post-title-large{font-size:42px}
.pk-news-section .post-title:is(:hover,:focus-visible),.pk-news-section .post-title-large:is(:hover,:focus-visible){color:var(--pk-blue,#529cb0)}
.pk-news-section .news-item-description p{font-family:var(--pk-font-body,'Geist',sans-serif);font-size:var(--pk-body-size,16px);line-height:1.4;font-weight:var(--pk-body-weight,400);color:var(--pk-text,#595c66);margin:0;overflow-wrap:anywhere}
/* v0.5.1 — Clamp only article excerpts, not dates or titles. The complete
   manual text and WordPress excerpt remain intact; CSS handles the preview. */
.pk-news-section .news-item-description > p {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:var(--pk-news-excerpt-lines,3);
  line-clamp:var(--pk-news-excerpt-lines,3);
  overflow:hidden;
}
.pk-news-section .collection-item-first-column { --pk-news-excerpt-lines:2; }
.pk-news-section .collection-item-second-column { --pk-news-excerpt-lines:3; }
.pk-news-section .collection-item-third-column { --pk-news-excerpt-lines:6; }
.pk-news-section .pk-news-empty{padding:50px 20px;background:rgba(0,0,0,.035);font-family:var(--pk-font-body,'Geist',sans-serif);color:var(--pk-text,#595c66)}
.pk-news-section.pk-news-motion-ready [data-pk-news-reveal]{opacity:0;transform:translate3d(0,15px,0);transition:opacity var(--pk-news-duration) ease,transform var(--pk-news-duration) ease;transition-delay:var(--pk-news-delay);will-change:opacity,transform}
.pk-news-section.pk-news-motion-ready [data-pk-news-reveal].pk-news-shown{opacity:1;transform:translate3d(0,0,0)}
@media (min-width:1440px){
  .pk-news-section .base-container{padding-inline:40px}
  .pk-news-section .news-wrapper{gap:30px}
  .pk-news-section .collection-list-wrapper-first-column{width:53%;flex:53 1 0}
  .pk-news-section .collection-list-wrapper-second-column{width:35%;flex:35 1 0}
  .pk-news-section .collection-list-wrapper-third-column{width:22%;flex:22 1 0;display:flex}
  .pk-news-section .collection-item-first-column{height:100%}
  .pk-news-section .collection-item-second-column{height:auto}
  .pk-news-section .collection-item-third-column{height:380px}
  .pk-news-section .link-image-news-small{height:145px}
  .pk-news-section .news-item-description{max-width:650px}
  .pk-news-section .post-title-large{font-size:42px}
  .pk-news-section .collection-item-first-column .news-item-bottom-content{flex:1}
}
@media (min-width:992px) and (max-width:1439px){
  .pk-news-section.pk-news-show-small .news-wrapper{gap:16px}
  .pk-news-section.pk-news-show-small .collection-list-wrapper-first-column{flex:50 1 0;width:50%}
  .pk-news-section.pk-news-show-small .collection-list-wrapper-second-column{flex:35 1 0;width:35%}
  .pk-news-section.pk-news-show-small .collection-list-wrapper-third-column{flex:22 1 0;width:22%;display:flex}
  .pk-news-section.pk-news-show-small .link-image-news-small{height:160px}
}
@media (max-width:991px){
  .pk-news-section .news-title-wrapper{align-items:center;margin-bottom:40px}
  .pk-news-section .link-image-news-medium{height:193px}
  .pk-news-section .news-item-bottom-content{width:100%}
  .pk-news-section.pk-news-show-small .news-wrapper{flex-wrap:wrap}
  .pk-news-section.pk-news-show-small .collection-list-wrapper-third-column{display:flex;flex:1 1 100%;width:100%;flex-direction:row}
  .pk-news-section.pk-news-show-small .collection-item-third-column{flex:1 1 0}
  .pk-news-section.pk-news-show-small .link-image-news-small{height:193px;overflow:hidden}
}
@media (max-width:767px){
  .pk-news-section .news-wrapper{flex-direction:column;gap:20px}
  .pk-news-section .collection-list-wrapper-first-column,.pk-news-section .collection-list-wrapper-second-column{width:100%;flex:none;gap:20px}
  .pk-news-section .collection-item-first-column,.pk-news-section .collection-item-second-column{height:auto;flex:none}
  .pk-news-section .link-image-news-big,.pk-news-section .link-image-news-medium{height:200px}
  .pk-news-section .news-title-wrapper h2{font-size:clamp(48px,9vw,var(--pk-h2-size,70px))}
  .pk-news-section .news-title-wrapper .button-wrapper-desk{display:none}
  .pk-news-section .button-wrapper-mob{display:flex;margin-top:36px}
  .pk-news-section .button-wrapper-mob .primary-button{width:100%}
  .pk-news-section.pk-news-show-small .collection-list-wrapper-third-column{flex-direction:column}
  .pk-news-section.pk-news-show-small .link-image-news-small{height:200px}
  .pk-news-section .news-item-description{gap:14px;max-width:none}
}
@media (max-width:479px){
  .pk-news-section .base-container{padding-inline:16px}
  .pk-news-section .post-title,.pk-news-section .post-title-large{font-size:clamp(26px,8vw,34px)}
  .pk-news-section .news-title-wrapper{margin-bottom:28px}
}

/* v0.5.0: intrinsic-height news rows prevent article text and underlines
   from slipping underneath the next photograph when copy or fonts grow.
   The main article remains in the first column; the right columns form
   two equal tracks that may expand if the content requires more space. */
@media (min-width:768px) {
  .pk-news-section .collection-list-wrapper-second-column {
    display:grid;
    grid-template-rows:repeat(2,minmax(max-content,1fr));
    gap:20px;
    align-content:stretch;
  }
  .pk-news-section .collection-item-second-column {
    height:auto;
    min-height:max-content;
    flex:none;
  }
  .pk-news-section .collection-item-second-column .news-item-bottom-content,
  .pk-news-section .collection-item-first-column .news-item-bottom-content {
    flex:1 0 auto;
    justify-content:flex-start;
  }
}
@media (min-width:992px) {
  .pk-news-section .collection-list-wrapper-third-column {
    grid-template-rows:repeat(2,minmax(max-content,1fr));
    gap:20px;
    align-content:stretch;
  }
  /* Preserve the hidden third column when Wayo's <1440px option is off. */
  .pk-news-section .collection-list-wrapper-third-column:not(:empty) {
    display:none;
  }
  .pk-news-section.pk-news-show-small .collection-list-wrapper-third-column {
    display:grid;
  }
  .pk-news-section .collection-item-third-column {
    height:auto;
    min-height:max-content;
    flex:none;
  }
  .pk-news-section .collection-item-third-column .news-item-bottom-content {
    flex:1 0 auto;
    justify-content:flex-start;
  }
}
@media (min-width:1440px) {
  .pk-news-section .collection-list-wrapper-third-column:not(:empty) {display:grid;}
}
@media (max-width:479px) {
  /* Smaller screens keep fluid type to avoid text overflowing narrow cards. */
  .pk-news-section .post-title-large{font-size:clamp(30px,8vw,42px)}
  .pk-news-section .post-title{font-size:clamp(26px,8vw,34px)}
}
@media (prefers-reduced-motion:reduce){
  .pk-news-section [data-pk-news-reveal],.pk-news-section .image-news{opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
  .pk-news-section .primary-button:is(:hover,:focus-visible) .gsap_split_letter{animation:none!important}
}
/* In the stacked mobile layout, override tablet flex-basis:100% (which otherwise
   gives the third column a viewport-sized flex basis and clips its cards). */
@media (max-width:767px){
  .pk-news-section.pk-news-show-small .collection-list-wrapper-third-column{flex:none;width:100%;gap:20px;}
  .pk-news-section.pk-news-show-small .collection-item-third-column{flex:none;width:100%;}
}
