.elementor-8554 .elementor-element.elementor-element-bd02549{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--gap:24px 24px;--row-gap:24px;--column-gap:24px;box-shadow:0px 1px 15px 0px rgba(180,88,164,0.22);--padding-top:20px;--padding-bottom:20px;--padding-left:110px;--padding-right:110px;--z-index:100;}.elementor-8554 .elementor-element.elementor-element-bd02549:not(.elementor-motion-effects-element-type-background), .elementor-8554 .elementor-element.elementor-element-bd02549 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}.elementor-8554 .elementor-element.elementor-element-34d9ef5{width:auto;max-width:auto;}.elementor-8554 .elementor-element.elementor-element-34d9ef5 img{width:105px;}.elementor-widget-nav-menu .elementor-nav-menu .elementor-item{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );}.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item{color:var( --e-global-color-text );fill:var( --e-global-color-text );}.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item:hover,
					.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item.elementor-item-active,
					.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item.highlighted,
					.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item:focus{color:var( --e-global-color-accent );fill:var( --e-global-color-accent );}.elementor-widget-nav-menu .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:before,
					.elementor-widget-nav-menu .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:after{background-color:var( --e-global-color-accent );}.elementor-widget-nav-menu .e--pointer-framed .elementor-item:before,
					.elementor-widget-nav-menu .e--pointer-framed .elementor-item:after{border-color:var( --e-global-color-accent );}.elementor-widget-nav-menu{--e-nav-menu-divider-color:var( --e-global-color-text );}.elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-item, .elementor-widget-nav-menu .elementor-nav-menu--dropdown  .elementor-sub-item{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );letter-spacing:var( --e-global-typography-accent-letter-spacing );word-spacing:var( --e-global-typography-accent-word-spacing );}.elementor-8554 .elementor-element.elementor-element-f21fc92{width:auto;max-width:auto;--e-nav-menu-horizontal-menu-item-margin:calc( 36px / 2 );}.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu .elementor-item{font-family:"Noto Sans Thai", Sans-serif;font-size:20px;font-weight:600;}.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main .elementor-item{color:#131313;fill:#131313;padding-left:10px;padding-right:10px;padding-top:13px;padding-bottom:13px;}.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main .elementor-item:hover,
					.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main .elementor-item.elementor-item-active,
					.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main .elementor-item.highlighted,
					.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main .elementor-item:focus{color:#DD5F56;fill:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:before,
					.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:after{background-color:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-f21fc92 .e--pointer-framed .elementor-item:before,
					.elementor-8554 .elementor-element.elementor-element-f21fc92 .e--pointer-framed .elementor-item:after{border-color:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main .elementor-item.elementor-item-active{color:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item.elementor-item-active:before,
					.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item.elementor-item-active:after{background-color:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-f21fc92 .e--pointer-framed .elementor-item.elementor-item-active:before,
					.elementor-8554 .elementor-element.elementor-element-f21fc92 .e--pointer-framed .elementor-item.elementor-item-active:after{border-color:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--main:not(.elementor-nav-menu--layout-horizontal) .elementor-nav-menu > li:not(:last-child){margin-bottom:36px;}.elementor-8554 .elementor-element.elementor-element-f21fc92 .elementor-nav-menu--dropdown a{padding-top:16px;padding-bottom:16px;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );word-spacing:var( --e-global-typography-accent-word-spacing );}.elementor-8554 .elementor-element.elementor-element-fa395d7 .elementor-button{background-color:#FD796D;font-family:"Noto Sans Thai", Sans-serif;font-size:20px;font-weight:600;line-height:1.35em;fill:#FFFFFF;color:#FFFFFF;border-radius:40px 40px 40px 40px;padding:10px 10px 10px 10px;}.elementor-8554 .elementor-element.elementor-element-fa395d7 .elementor-button:hover, .elementor-8554 .elementor-element.elementor-element-fa395d7 .elementor-button:focus{background-color:var( --e-global-color-sby_2nd );color:#FFFFFF;}.elementor-8554 .elementor-element.elementor-element-fa395d7{width:var( --container-widget-width, 238px );max-width:238px;--container-widget-width:238px;--container-widget-flex-grow:0;}.elementor-8554 .elementor-element.elementor-element-fa395d7 .elementor-button-content-wrapper{flex-direction:row;}.elementor-8554 .elementor-element.elementor-element-fa395d7 .elementor-button .elementor-button-content-wrapper{gap:10px;}.elementor-8554 .elementor-element.elementor-element-fa395d7 .elementor-button:hover svg, .elementor-8554 .elementor-element.elementor-element-fa395d7 .elementor-button:focus svg{fill:#FFFFFF;}.elementor-8554 .elementor-element.elementor-element-8311c72 .e-off-canvas__overlay{background-color:rgba(0,0,0,.8);}.elementor-8554 .elementor-element.elementor-element-8311c72{--e-off-canvas-justify-content:left;--e-off-canvas-align-items:center;--e-off-canvas-height:100vh;--e-off-canvas-content-overflow:auto;--e-off-canvas-animation-duration:1.5s;--e-off-canvas-overlay-opacity:1;}.elementor-8554 .elementor-element.elementor-element-de67a5a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:24px;--padding-bottom:24px;--padding-left:24px;--padding-right:24px;}.elementor-8554 .elementor-element.elementor-element-de67a5a:not(.elementor-motion-effects-element-type-background), .elementor-8554 .elementor-element.elementor-element-de67a5a > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-8554 .elementor-element.elementor-element-5eaf74c{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--padding-top:0px;--padding-bottom:24px;--padding-left:0px;--padding-right:0px;}.elementor-8554 .elementor-element.elementor-element-89d365b{text-align:start;}.elementor-8554 .elementor-element.elementor-element-89d365b img{width:80px;}.elementor-widget-icon.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-primary );}.elementor-widget-icon.elementor-view-framed .elementor-icon, .elementor-widget-icon.elementor-view-default .elementor-icon{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget-icon.elementor-view-framed .elementor-icon, .elementor-widget-icon.elementor-view-default .elementor-icon svg{fill:var( --e-global-color-primary );}.elementor-8554 .elementor-element.elementor-element-50cdabd .elementor-icon-wrapper{text-align:end;}.elementor-8554 .elementor-element.elementor-element-50cdabd.elementor-view-stacked .elementor-icon{background-color:#131313;}.elementor-8554 .elementor-element.elementor-element-50cdabd.elementor-view-framed .elementor-icon, .elementor-8554 .elementor-element.elementor-element-50cdabd.elementor-view-default .elementor-icon{color:#131313;border-color:#131313;}.elementor-8554 .elementor-element.elementor-element-50cdabd.elementor-view-framed .elementor-icon, .elementor-8554 .elementor-element.elementor-element-50cdabd.elementor-view-default .elementor-icon svg{fill:#131313;}.elementor-8554 .elementor-element.elementor-element-50cdabd.elementor-view-stacked .elementor-icon:hover{background-color:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-50cdabd.elementor-view-framed .elementor-icon:hover, .elementor-8554 .elementor-element.elementor-element-50cdabd.elementor-view-default .elementor-icon:hover{color:#DD5F56;border-color:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-50cdabd.elementor-view-framed .elementor-icon:hover, .elementor-8554 .elementor-element.elementor-element-50cdabd.elementor-view-default .elementor-icon:hover svg{fill:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-50cdabd .elementor-icon{font-size:22px;}.elementor-8554 .elementor-element.elementor-element-50cdabd .elementor-icon svg{height:22px;}.elementor-8554 .elementor-element.elementor-element-5935c28 .elementor-nav-menu .elementor-item{font-family:"Noto Sans Thai", Sans-serif;font-size:20px;font-weight:600;}.elementor-8554 .elementor-element.elementor-element-5935c28 .elementor-nav-menu--main .elementor-item{color:#131313;fill:#131313;padding-left:0px;padding-right:0px;padding-top:14px;padding-bottom:14px;}.elementor-8554 .elementor-element.elementor-element-5935c28 .elementor-nav-menu--main .elementor-item:hover,
					.elementor-8554 .elementor-element.elementor-element-5935c28 .elementor-nav-menu--main .elementor-item.elementor-item-active,
					.elementor-8554 .elementor-element.elementor-element-5935c28 .elementor-nav-menu--main .elementor-item.highlighted,
					.elementor-8554 .elementor-element.elementor-element-5935c28 .elementor-nav-menu--main .elementor-item:focus{color:#DD5F56;fill:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-5935c28 .elementor-nav-menu--main .elementor-item.elementor-item-active{color:#DD5F56;}.elementor-8554 .elementor-element.elementor-element-5a78673{width:auto;max-width:auto;}.elementor-8554 .elementor-element.elementor-element-5a78673 .elementor-icon-wrapper{text-align:center;}.elementor-8554 .elementor-element.elementor-element-5a78673 .elementor-icon{font-size:30px;}.elementor-8554 .elementor-element.elementor-element-5a78673 .elementor-icon svg{height:30px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:1024px){.elementor-8554 .elementor-element.elementor-element-bd02549{--padding-top:16px;--padding-bottom:16px;--padding-left:40px;--padding-right:40px;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}.elementor-widget-nav-menu .elementor-nav-menu .elementor-item{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );}.elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-item, .elementor-widget-nav-menu .elementor-nav-menu--dropdown  .elementor-sub-item{font-size:var( --e-global-typography-accent-font-size );letter-spacing:var( --e-global-typography-accent-letter-spacing );word-spacing:var( --e-global-typography-accent-word-spacing );}.elementor-8554 .elementor-element.elementor-element-f21fc92{width:auto;max-width:auto;}.elementor-widget-button .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );word-spacing:var( --e-global-typography-accent-word-spacing );}}@media(min-width:768px){.elementor-8554 .elementor-element.elementor-element-bd02549{--content-width:1440px;}}@media(max-width:767px){.elementor-8554 .elementor-element.elementor-element-bd02549{--gap:12px 12px;--row-gap:12px;--column-gap:12px;--padding-top:12px;--padding-bottom:12px;--padding-left:20px;--padding-right:20px;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}.elementor-8554 .elementor-element.elementor-element-34d9ef5 img{width:80px;}.elementor-widget-nav-menu .elementor-nav-menu .elementor-item{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );}.elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-item, .elementor-widget-nav-menu .elementor-nav-menu--dropdown  .elementor-sub-item{font-size:var( --e-global-typography-accent-font-size );letter-spacing:var( --e-global-typography-accent-letter-spacing );word-spacing:var( --e-global-typography-accent-word-spacing );}.elementor-8554 .elementor-element.elementor-element-f21fc92{width:auto;max-width:auto;}.elementor-widget-button .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );word-spacing:var( --e-global-typography-accent-word-spacing );}.elementor-8554 .elementor-element.elementor-element-fa395d7{width:auto;max-width:auto;}.elementor-8554 .elementor-element.elementor-element-fa395d7 .elementor-button{font-size:14px;padding:8px 14px 8px 14px;}}/* Start custom CSS *//* SBY header dropdown polish: desktop submenu + mobile off-canvas submenu/search spacing. */
.elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children > .sub-menu {
  min-width: 250px !important;
  padding: 10px !important;
  margin-top: 14px !important;
  border: 1px solid rgba(253, 121, 109, .16) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 42px -26px rgba(15, 23, 42, .22), 0 14px 30px -24px rgba(253, 121, 109, .34) !important;
  overflow: hidden !important;
}

.elementor-element-f21fc92 .elementor-nav-menu--main .sub-menu:before {
  content: "";
  position: absolute;
  top: -7px;
  left: 42px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: #ffffff;
  border-left: 1px solid rgba(253, 121, 109, .16);
  border-top: 1px solid rgba(253, 121, 109, .16);
}

.elementor-element-f21fc92 .elementor-nav-menu--main .sub-menu li {
  margin: 0 !important;
}

.elementor-element-f21fc92 .elementor-nav-menu--main .sub-menu .elementor-sub-item {
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #344054 !important;
  font-family: 'Noto Sans Thai', Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  white-space: nowrap !important;
}

.elementor-element-f21fc92 .elementor-nav-menu--main .sub-menu .elementor-sub-item:hover,
.elementor-element-f21fc92 .elementor-nav-menu--main .sub-menu .elementor-sub-item:focus,
.elementor-element-f21fc92 .elementor-nav-menu--main .sub-menu .elementor-sub-item.elementor-item-active,
.elementor-element-f21fc92 .elementor-nav-menu--main .sub-menu .current-menu-item > .elementor-sub-item {
  background: #fff0ec !important;
  color: #DD5F56 !important;
}

.elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children > a .sub-arrow {
  margin-left: 8px !important;
  color: currentColor !important;
}

.elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children > a .sub-arrow svg {
  width: 12px !important;
  height: 12px !important;
}

@media (max-width: 767px) {
  .elementor-element-8311c72 .e-off-canvas,
  .elementor-element-8311c72 .e-off-canvas__content,
  .elementor-element-8311c72 .e-off-canvas__main {
    background: #ffffff !important;
  }

  .elementor-element-8311c72 .elementor-element-de67a5a {
    align-items: stretch !important;
    padding: 22px 24px 28px !important;
  }

  .elementor-element-5935c28 .elementor-nav-menu--main,
  .elementor-element-5935c28 .elementor-nav-menu {
    width: 100% !important;
  }

  .elementor-element-5935c28 .elementor-nav-menu > li {
    width: 100% !important;
  }

  .elementor-element-5935c28 .elementor-nav-menu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 8px 0 !important;
    color: #131313 !important;
    font-family: 'Noto Sans Thai', Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  .elementor-element-5935c28 .menu-item-has-children > a:after {
    content: "";
    display: inline-block;
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-left: 14px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
  }

  .elementor-element-5935c28 .menu-item-has-children:focus-within > a,
  .elementor-element-5935c28 .menu-item-has-children:hover > a {
    color: #DD5F56 !important;
  }

  .elementor-element-5935c28 .menu-item-has-children:focus-within > a:after,
  .elementor-element-5935c28 .menu-item-has-children:hover > a:after {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .elementor-element-5935c28 .menu-item-has-children > .sub-menu {
    position: static !important;
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 4px 0 12px !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(253, 121, 109, .16) !important;
    border-radius: 16px !important;
    background: #fff7f4 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .elementor-element-5935c28 .menu-item-has-children:focus-within > .sub-menu,
  .elementor-element-5935c28 .menu-item-has-children:hover > .sub-menu {
    display: block !important;
  }

  .elementor-element-5935c28 .sub-menu li,
  .elementor-element-5935c28 .sub-menu a {
    width: 100% !important;
  }

  .elementor-element-5935c28 .sub-menu .elementor-sub-item {
    display: block !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
  }

  .elementor-element-5935c28 .sub-menu .elementor-sub-item:hover,
  .elementor-element-5935c28 .sub-menu .elementor-sub-item:focus {
    background: #ffffff !important;
    color: #DD5F56 !important;
  }

  .elementor-element-5935c28 .menu-item-8008 > a {
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-top: 16px !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    background: #FD796D !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
  }

  .elementor-element-5935c28 .menu-item-8008 > a img.emoji {
    width: 21px !important;
    height: 21px !important;
    margin-right: 10px !important;
    flex: 0 0 21px !important;
  }

  .elementor-element-5935c28 .menu-item-8008 > a:hover,
  .elementor-element-5935c28 .menu-item-8008 > a:focus {
    background: #DD5F56 !important;
    color: #ffffff !important;
  }
}
/* Mobile off-canvas refinement: remove browser focus ring and make search CTA read as a real button. */
@media (max-width: 767px) {
  .elementor-element-5935c28 .elementor-nav-menu a:focus {
    outline: none !important;
    box-shadow: none !important;
  }

  .elementor-element-5935c28 .elementor-nav-menu > li > a.elementor-item {
    border-radius: 14px !important;
    padding: 9px 12px !important;
  }

  .elementor-element-5935c28 .menu-item-has-children:focus-within > a.elementor-item,
  .elementor-element-5935c28 .menu-item-has-children:hover > a.elementor-item {
    background: #fff0ec !important;
    color: #DD5F56 !important;
  }

  .elementor-element-5935c28.elementor-widget-nav-menu .elementor-nav-menu--main ul.elementor-nav-menu > li.menu-item-8008 > a.elementor-item,
  .elementor-element-5935c28.elementor-widget-nav-menu .elementor-nav-menu > li.menu-item-8008 > a.elementor-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 52px !important;
    margin-top: 18px !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    background: #FD796D !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  .elementor-element-5935c28.elementor-widget-nav-menu .elementor-nav-menu > li.menu-item-8008 > a.elementor-item img.emoji {
    width: 21px !important;
    height: 21px !important;
    margin: 0 10px 0 0 !important;
    filter: brightness(0) invert(1) !important;
    flex: 0 0 21px !important;
  }

  .elementor-element-5935c28.elementor-widget-nav-menu .elementor-nav-menu > li.menu-item-8008 > a.elementor-item:hover,
  .elementor-element-5935c28.elementor-widget-nav-menu .elementor-nav-menu > li.menu-item-8008 > a.elementor-item:focus {
    background: #DD5F56 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
}

/* SBY header typography + mobile menu reliability pass. Keep header on the site's loaded Thai font. */
.elementor-location-header,
.elementor-location-header .elementor-widget-nav-menu,
.elementor-location-header .elementor-widget-nav-menu a,
.elementor-location-header .elementor-widget-button .elementor-button,
.elementor-location-header .elementor-widget-icon a,
#off-canvas-8311c72,
#off-canvas-8311c72 a,
#off-canvas-8311c72 .elementor-widget-nav-menu,
.elementor-element-8311c72,
.elementor-element-8311c72 a,
.elementor-element-5935c28,
.elementor-element-5935c28 a,
.elementor-element-f21fc92,
.elementor-element-f21fc92 a,
.elementor-element-fa395d7 .elementor-button {
  font-family: "SBY Noto Sans Thai", "Noto Sans Thai", sans-serif !important;
}

@media (min-width: 768px) {
  .elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children > .sub-menu {
    top: 100% !important;
  }
}

@media (max-width: 767px) {
  #off-canvas-8311c72 .elementor-element-5935c28 .elementor-nav-menu--main,
  #off-canvas-8311c72 .elementor-element-5935c28 .elementor-nav-menu,
  .elementor-element-8311c72 .elementor-element-5935c28 .elementor-nav-menu--main,
  .elementor-element-8311c72 .elementor-element-5935c28 .elementor-nav-menu {
    width: 100% !important;
  }

  #off-canvas-8311c72 .elementor-element-5935c28 .menu-item-has-children > .sub-menu,
  .elementor-element-8311c72 .elementor-element-5935c28 .menu-item-has-children > .sub-menu {
    position: static !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 6px 0 12px !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(253, 121, 109, .16) !important;
    border-radius: 16px !important;
    background: #fff7f4 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  #off-canvas-8311c72 .elementor-element-5935c28 .menu-item-has-children > a.elementor-item,
  .elementor-element-8311c72 .elementor-element-5935c28 .menu-item-has-children > a.elementor-item {
    background: #fff0ec !important;
    color: #DD5F56 !important;
  }

  #off-canvas-8311c72 .elementor-element-5935c28 .menu-item-has-children > a.elementor-item:after,
  .elementor-element-8311c72 .elementor-element-5935c28 .menu-item-has-children > a.elementor-item:after {
    transform: rotate(225deg) translate(-2px, -2px) !important;
  }

  #off-canvas-8311c72 .elementor-element-5935c28 .menu-item-8008 > a.elementor-item,
  .elementor-element-8311c72 .elementor-element-5935c28 .menu-item-8008 > a.elementor-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 52px !important;
    margin-top: 18px !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    background: #FD796D !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  #off-canvas-8311c72 .elementor-element-5935c28 .menu-item-8008 > a.elementor-item img.emoji,
  .elementor-element-8311c72 .elementor-element-5935c28 .menu-item-8008 > a.elementor-item img.emoji {
    width: 21px !important;
    height: 21px !important;
    margin: 0 10px 0 0 !important;
    filter: brightness(0) invert(1) !important;
    flex: 0 0 21px !important;
  }
}

/* SBY desktop dropdown reliability: make submenu open on hover and keyboard/click focus. */
@media (min-width: 768px) {
  .elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children:hover > .sub-menu,
  .elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children:focus-within > .sub-menu,
  .elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children > a:focus + .sub-menu,
  .elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children > a[aria-expanded="true"] + .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999 !important;
  }

  .elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children {
    position: relative !important;
  }

  .elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children > .sub-menu {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* SBY final typography override for nested menu items that had older forced font rules. */
.elementor-element-f21fc92 .elementor-nav-menu--main .sub-menu .elementor-sub-item,
.elementor-element-5935c28 .elementor-nav-menu > li > a,
.elementor-element-5935c28 .sub-menu .elementor-sub-item,
#off-canvas-8311c72 .elementor-element-5935c28 .elementor-nav-menu > li > a,
#off-canvas-8311c72 .elementor-element-5935c28 .sub-menu .elementor-sub-item,
#off-canvas-8311c72 .elementor-element-5935c28 .menu-item-8008 > a.elementor-item {
  font-family: "SBY Noto Sans Thai", "Noto Sans Thai", sans-serif !important;
}

/* SBY desktop dropdown hover bridge: prevent submenu from closing while moving cursor from parent item to dropdown. */
@media (min-width: 768px) {
  .elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children {
    position: relative !important;
  }

  .elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 280px;
    height: 28px;
    transform: translateX(-50%);
    background: transparent;
    z-index: 99998;
    pointer-events: auto;
  }

  .elementor-element-f21fc92 .elementor-nav-menu--main .menu-item-has-children > .sub-menu {
    z-index: 99999 !important;
  }
}

/* SBY desktop dropdown hover bridge final override: force the pseudo element to exist. */
@media (min-width: 768px) {
  .elementor-element-f21fc92.elementor-widget-nav-menu .elementor-nav-menu--main ul.elementor-nav-menu > li.menu-item-has-children::after,
  .elementor-element-f21fc92 .elementor-nav-menu--main li.menu-item-has-children::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    width: 280px !important;
    height: 28px !important;
    transform: translateX(-50%) !important;
    background: transparent !important;
    z-index: 99998 !important;
    pointer-events: auto !important;
  }
}

/* SBY desktop dropdown hover bridge cleanup: remove inherited divider line from the generated bridge. */
@media (min-width: 768px) {
  .elementor-element-f21fc92.elementor-widget-nav-menu .elementor-nav-menu--main ul.elementor-nav-menu > li.menu-item-has-children::after,
  .elementor-element-f21fc92 .elementor-nav-menu--main li.menu-item-has-children::after {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    background-image: none !important;
  }
}

/* SBY category archive redesign: dynamic WordPress archive, scoped to category pages. */
body.archive.category {
  background: #ffffff !important;
  color: #172033;
  font-family: "SBY Noto Sans Thai", "Noto Sans Thai", sans-serif;
}

body.archive.category main#content.site-main {
  width: min(100% - 48px, 1180px) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 42px 0 86px !important;
}

body.archive.category main#content .page-header {
  position: relative;
  overflow: hidden;
  margin: 0 0 52px !important;
  padding: 62px 56px 58px !important;
  border: 1px solid rgba(253, 121, 109, .16);
  border-radius: 32px;
  background:
    linear-gradient(117deg, rgba(255, 249, 239, .98) 0%, rgba(255, 244, 234, .94) 46%, rgba(255, 238, 244, .96) 100%);
  box-shadow: 0 22px 52px -34px rgba(15, 23, 42, .32), 0 18px 46px -38px rgba(253, 121, 109, .55);
  text-align: center;
}

body.archive.category main#content .page-header:after {
  content: "คลังความรู้สุขภาพ";
  position: absolute;
  right: 34px;
  bottom: 28px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #DD5F56;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 12px 30px -24px rgba(15, 23, 42, .28);
}

body.category-hiv-prevention main#content .page-header:after {
  content: "PrEP • PEP • U=U";
}

body.archive.category main#content .page-header .entry-title {
  margin: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

body.archive.category main#content .page-header .entry-title:before {
  content: "หมวดหมู่บทความ";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 232, 229, .9);
  color: #FD796D;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

body.archive.category main#content .page-header .entry-title span {
  display: block;
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(90deg, #FD796D 0%, #F05D70 47%, #9A35DA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

body.archive.category main#content .page-header p {
  max-width: 780px;
  margin: 22px auto 0 !important;
  color: #53627a;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.65;
}

body.archive.category main#content .page-header p:empty,
body.archive.category main#content .page-header .archive-description:empty {
  display: none !important;
}

body.archive.category main#content .page-content {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  width: 100%;
}

body.archive.category main#content article.post {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 22px 52px -38px rgba(15, 23, 42, .36);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.archive.category main#content article.post:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 121, 109, .24);
  box-shadow: 0 28px 64px -38px rgba(15, 23, 42, .42), 0 18px 42px -36px rgba(253, 121, 109, .45);
}

body.archive.category main#content article.post > a {
  order: 1;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #fff4f0;
  line-height: 0;
}

body.archive.category main#content article.post > a img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .22s ease;
}

body.archive.category main#content article.post:hover > a img {
  transform: scale(1.035);
}

body.archive.category main#content article.post .entry-title {
  order: 2;
  margin: 0 !important;
  padding: 24px 24px 0;
  font-size: 0 !important;
  line-height: 1 !important;
}

body.archive.category main#content article.post .entry-title:before {
  content: "แนะนำ";
  display: inline-flex;
  margin: 0 0 13px;
  padding: 5px 12px 4px;
  border-radius: 999px;
  background: #fff0ec;
  color: #FD796D;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

body.archive.category main#content article.post .entry-title a {
  display: -webkit-box;
  overflow: hidden;
  color: #111827 !important;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.32;
  letter-spacing: 0;
  text-decoration: none !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.archive.category main#content article.post .entry-title a:hover {
  color: #DD5F56 !important;
}

body.archive.category main#content article.post > p {
  order: 3;
  display: -webkit-box;
  margin: 14px 0 0 !important;
  padding: 0 24px 28px;
  overflow: hidden;
  color: #667085;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

body.archive.category main#content .pagination {
  display: flex;
  justify-content: center;
  margin: 58px 0 0 !important;
}

body.archive.category main#content .pagination .nav-links,
body.archive.category main#content .pagination .nav-next,
body.archive.category main#content .pagination .nav-previous {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

body.archive.category main#content .pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid rgba(253, 121, 109, .2);
  border-radius: 999px;
  background: linear-gradient(90deg, #FD796D 0%, #F05D70 60%, #B03ADB 100%);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 16px 34px -26px rgba(253, 121, 109, .8);
}

@media (max-width: 1024px) {
  body.archive.category main#content.site-main {
    width: min(100% - 40px, 920px) !important;
    padding-top: 34px !important;
  }

  body.archive.category main#content .page-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  body.archive.category main#content .page-header {
    padding: 48px 34px 50px !important;
  }
}

@media (max-width: 767px) {
  body.archive.category main#content.site-main {
    width: min(100% - 32px, 520px) !important;
    padding: 24px 0 68px !important;
  }

  body.archive.category main#content .page-header {
    margin-bottom: 34px !important;
    padding: 36px 22px 38px !important;
    border-radius: 26px;
    text-align: left;
  }

  body.archive.category main#content .page-header:after {
    position: static;
    display: inline-flex;
    margin-top: 18px;
    font-size: 13px;
  }

  body.archive.category main#content .page-header .entry-title:before {
    margin-left: 0;
    margin-right: 0;
    font-size: 13px;
  }

  body.archive.category main#content .page-header .entry-title span {
    margin-left: 0;
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.12;
  }

  body.archive.category main#content .page-header p {
    margin-top: 16px !important;
    font-size: 17px;
    line-height: 1.62;
  }

  body.archive.category main#content .page-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.archive.category main#content article.post {
    border-radius: 24px;
  }

  body.archive.category main#content article.post .entry-title {
    padding: 22px 20px 0;
  }

  body.archive.category main#content article.post .entry-title a {
    font-size: 21px;
  }

  body.archive.category main#content article.post > p {
    padding: 0 20px 24px;
    font-size: 15.5px;
  }

  body.archive.category main#content .pagination {
    margin-top: 38px !important;
  }
}

/* SBY dynamic category archive polish */
body.archive.category main#content.site-main {
  padding-bottom: clamp(72px, 8vw, 116px);
}

body.archive.category main#content .page-header {
  border-color: rgba(255, 117, 109, .16);
  box-shadow: 0 26px 68px rgba(255, 117, 109, .11), 0 14px 44px rgba(187, 87, 170, .08);
}

body.archive.category main#content .page-header .entry-title span {
  line-height: 1.05;
  letter-spacing: 0;
}

body.archive.category main#content article.post {
  min-width: 0;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.archive.category main#content article.post:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 117, 109, .35);
  box-shadow: 0 22px 54px rgba(255, 117, 109, .14), 0 12px 36px rgba(16, 25, 48, .08);
}

body.archive.category main#content article.post > .entry-title:before {
  content: "บทความ";
  color: #ff756d;
  background: rgba(255, 117, 109, .11);
}

body.archive.category main#content article.post > .entry-title a {
  letter-spacing: 0;
}

body.archive.category main#content article.post > p {
  margin-top: 0;
}

body.archive.category main#content .pagination,
body.archive.category main#content nav.pagination {
  margin-top: clamp(34px, 5vw, 58px);
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

body.archive.category main#content .pagination a,
body.archive.category main#content .page-numbers {
  min-width: 42px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 117, 109, .2);
  background: #fff;
  color: #506075;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(16, 25, 48, .06);
}

body.archive.category main#content .pagination .current,
body.archive.category main#content .page-numbers.current,
body.archive.category main#content .pagination a:hover,
body.archive.category main#content .page-numbers:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(115deg, #ff8a54 0%, #ff6f68 44%, #a72de8 100%);
}

@media (max-width: 767px) {
  body.archive.category main#content.site-main {
    width: min(100% - 32px, 430px);
    padding-top: 26px;
    padding-bottom: 64px;
  }

  body.archive.category main#content .page-header {
    padding: 36px 22px 34px;
    margin-bottom: 32px;
    text-align: left;
    border-radius: 24px;
  }

  body.archive.category main#content .page-header:before {
    margin-left: 0;
    margin-right: 0;
  }

  body.archive.category main#content .page-header .entry-title span {
    font-size: clamp(38px, 12vw, 48px);
    text-align: left;
  }

  body.archive.category main#content .page-header p {
    max-width: 100%;
    font-size: 16px;
    text-align: left;
  }

  body.archive.category main#content .page-header:after {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 22px;
  }

  body.archive.category main#content .page-content {
    gap: 24px;
  }

  body.archive.category main#content article.post > .entry-title {
    padding-left: 22px;
    padding-right: 22px;
  }

  body.archive.category main#content article.post > p {
    padding-left: 22px;
    padding-right: 22px;
    padding-bottom: 24px;
  }
}

/* SBY category archive pagination visibility fix. */
body.archive.category main#content nav.pagination,
body.archive.category main#content .pagination {
  width: 100%;
  margin-top: clamp(36px, 5vw, 58px) !important;
  margin-bottom: 0 !important;
}

body.archive.category main#content nav.pagination .nav-links,
body.archive.category main#content .pagination .nav-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100%;
}

body.archive.category main#content nav.pagination a,
body.archive.category main#content .pagination .nav-next a,
body.archive.category main#content .pagination .nav-previous a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 142px !important;
  min-height: 48px !important;
  padding: 12px 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(115deg, #ff8a54 0%, #ff6f68 48%, #a72de8 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 0 !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 16px 34px -24px rgba(253, 121, 109, .9) !important;
}

body.archive.category main#content .pagination .nav-next a:before {
  content: "หน้าถัดไป";
  font-size: 16px;
}

body.archive.category main#content .pagination .nav-next a:after {
  content: "→";
  font-size: 19px;
  line-height: 1;
}

body.archive.category main#content .pagination .nav-previous a:before {
  content: "←";
  font-size: 19px;
  line-height: 1;
}

body.archive.category main#content .pagination .nav-previous a:after {
  content: "หน้าก่อนหน้า";
  font-size: 16px;
}

body.archive.category main#content nav.pagination a:hover,
body.archive.category main#content .pagination .nav-next a:hover,
body.archive.category main#content .pagination .nav-previous a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -22px rgba(167, 45, 232, .45), 0 14px 34px -24px rgba(253, 121, 109, .85) !important;
}

/* SBY author archive design */
body.archive.author {
  --sby-author-primary: #FD796D;
  --sby-author-secondary: #DD5F56;
  --sby-author-purple: #B17DC8;
  --sby-author-text: #101828;
  --sby-author-muted: #64748B;
  --sby-author-soft: #FFFAF0;
  --sby-author-border: rgba(253, 121, 109, 0.18);
  background: #FFFFFF;
  color: var(--sby-author-text);
  font-family: "Noto Sans Thai", sans-serif;
}

body.archive.author .site-main {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

body.archive.author .page-header {
  position: relative;
  overflow: hidden;
  margin: 0 0 48px;
  padding: 72px 64px;
  border: 1px solid var(--sby-author-border);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 247, 238, 0.92) 48%, rgba(255, 236, 242, 0.9) 100%);
  box-shadow: 0 22px 48px rgba(221, 95, 86, 0.08);
}

body.archive.author .page-header::before {
  content: "";
  position: absolute;
  inset: auto -8% -42% 46%;
  height: 82%;
  border: 34px solid rgba(253, 121, 109, 0.08);
  border-radius: 999px 999px 0 0;
  transform: rotate(-12deg);
  pointer-events: none;
}

body.archive.author .page-header::after {
  content: "คลังบทความสุขภาพจากทีม Stand by You";
  position: relative;
  z-index: 1;
  display: block;
  max-width: 760px;
  margin-top: 16px;
  color: var(--sby-author-muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.55;
}

body.archive.author .page-header .entry-title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 820px;
  font-size: 0;
  line-height: 1.16;
}

body.archive.author .page-header .entry-title::before {
  content: "บทความโดย";
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(253, 121, 109, 0.12);
  color: var(--sby-author-secondary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

body.archive.author .page-header .entry-title span {
  display: block;
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(100deg, #FD796D 0%, #EA4F7A 48%, #9B35D7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: 0;
}

body.archive.author .page-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

body.archive.author .page-content article.post {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.archive.author .page-content article.post:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 121, 109, 0.34);
  box-shadow: 0 24px 54px rgba(221, 95, 86, 0.14);
}

body.archive.author .page-content article.post > a {
  order: 1;
  display: block;
  overflow: hidden;
  background: #FFF5F0;
  aspect-ratio: 1 / 1;
}

body.archive.author .page-content article.post img.wp-post-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

body.archive.author .page-content article.post:hover img.wp-post-image {
  transform: scale(1.035);
}

body.archive.author .page-content article.post .entry-title {
  order: 2;
  margin: 0;
  padding: 24px 24px 0;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

body.archive.author .page-content article.post .entry-title a {
  color: var(--sby-author-text);
  text-decoration: none;
}

body.archive.author .page-content article.post .entry-title a:hover {
  color: var(--sby-author-secondary);
}

body.archive.author .page-content article.post p {
  order: 3;
  margin: 0;
  padding: 14px 24px 26px;
  color: var(--sby-author-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

body.archive.author .page-content article.post::after {
  content: "อ่านบทความ";
  order: 4;
  width: fit-content;
  margin: auto 24px 26px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(253, 121, 109, 0.12);
  color: var(--sby-author-secondary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

body.archive.author .page-content article.post:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

body.archive.author .page-content article.post:first-child > a {
  grid-row: 1 / span 4;
  aspect-ratio: auto;
  min-height: 100%;
}

body.archive.author .page-content article.post:first-child .entry-title {
  align-self: end;
  padding: 36px 36px 0;
  font-size: clamp(30px, 3vw, 42px);
}

body.archive.author .page-content article.post:first-child p {
  padding: 18px 36px 0;
  font-size: 18px;
}

body.archive.author .page-content article.post:first-child::after {
  margin: 24px 36px 36px;
  background: linear-gradient(100deg, #FD796D 0%, #F34B83 54%, #9333EA 100%);
  color: #FFFFFF;
  box-shadow: 0 14px 28px rgba(253, 121, 109, 0.26);
}

body.archive.author .pagination,
body.archive.author .page-content .page-numbers {
  grid-column: 1 / -1;
}

body.archive.author .page-numbers {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

body.archive.author .page-numbers a,
body.archive.author .page-numbers span {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  color: var(--sby-author-muted);
  font-weight: 700;
  text-decoration: none;
}

body.archive.author .page-numbers .current,
body.archive.author .page-numbers a:hover {
  border-color: transparent;
  background: var(--sby-author-primary);
  color: #FFFFFF;
}

@media (max-width: 1024px) {
  body.archive.author .site-main {
    width: min(100% - 32px, 760px);
    padding: 48px 0 72px;
  }

  body.archive.author .page-header {
    padding: 52px 36px;
    margin-bottom: 34px;
    border-radius: 24px;
  }

  body.archive.author .page-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  body.archive.author .page-content article.post:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  body.archive.author .site-main {
    width: min(100% - 28px, 420px);
    padding: 28px 0 56px;
  }

  body.archive.author .page-header {
    padding: 36px 24px;
    margin-bottom: 26px;
    border-radius: 22px;
  }

  body.archive.author .page-header::before {
    inset: auto -38% -30% 22%;
    height: 68%;
    border-width: 22px;
  }

  body.archive.author .page-header::after {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.55;
  }

  body.archive.author .page-header .entry-title::before {
    margin-bottom: 14px;
    font-size: 15px;
  }

  body.archive.author .page-header .entry-title span {
    font-size: clamp(34px, 11vw, 46px);
  }

  body.archive.author .page-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.archive.author .page-content article.post:first-child {
    display: flex;
    grid-column: auto;
  }

  body.archive.author .page-content article.post:first-child > a {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  body.archive.author .page-content article.post .entry-title,
  body.archive.author .page-content article.post:first-child .entry-title {
    padding: 20px 20px 0;
    font-size: 22px;
    line-height: 1.38;
  }

  body.archive.author .page-content article.post p,
  body.archive.author .page-content article.post:first-child p {
    padding: 12px 20px 0;
    font-size: 15px;
  }

  body.archive.author .page-content article.post::after,
  body.archive.author .page-content article.post:first-child::after {
    margin: 18px 20px 22px;
  }
}

/* SBY author archive card sizing refinement */
body.archive.author .page-content article.post > a {
  line-height: 0;
}

body.archive.author .page-content article.post:not(:first-child) > a {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
}

body.archive.author .page-content article.post img.wp-post-image {
  max-width: none !important;
  height: 100% !important;
}

body.archive.author .page-content article.post .entry-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.archive.author .page-content article.post:not(:first-child) .entry-title a {
  -webkit-line-clamp: 2;
}

body.archive.author .page-content article.post p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.archive.author .page-content article.post:first-child .entry-title {
  font-size: clamp(28px, 2.65vw, 38px);
}

body.archive.author .page-content article.post:first-child .entry-title a {
  -webkit-line-clamp: 4;
}

@media (max-width: 767px) {
  body.archive.author .page-content article.post .entry-title a,
  body.archive.author .page-content article.post:not(:first-child) .entry-title a,
  body.archive.author .page-content article.post:first-child .entry-title a {
    -webkit-line-clamp: 3;
  }
}

/* SBY author archive final image/card polish */
body.archive.author .page-content article.post > a {
  isolation: isolate;
}

body.archive.author .page-content article.post img.wp-post-image {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 100%;
  object-fit: cover;
}

body.archive.author .page-content article.post:not(:first-child) .entry-title {
  padding: 22px 22px 0;
  font-size: clamp(20px, 1.75vw, 25px);
  line-height: 1.34;
}

body.archive.author .page-content article.post:not(:first-child) p {
  padding: 12px 22px 0;
  font-size: 16px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
}

body.archive.author .page-content article.post:not(:first-child)::after {
  margin: 18px 22px 24px;
}

body.archive.author .page-content article.post:first-child {
  grid-template-rows: auto auto 1fr auto;
}

body.archive.author .page-content article.post:first-child > a {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: stretch;
  height: 100%;
}

body.archive.author .page-content article.post:first-child .entry-title,
body.archive.author .page-content article.post:first-child p,
body.archive.author .page-content article.post:first-child::after {
  grid-column: 2;
}

@media (max-width: 767px) {
  body.archive.author .page-content article.post:first-child > a,
  body.archive.author .page-content article.post:not(:first-child) > a {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  body.archive.author .page-content article.post img.wp-post-image {
    height: 100% !important;
    max-height: none !important;
  }

  body.archive.author .page-content article.post:not(:first-child) .entry-title,
  body.archive.author .page-content article.post:first-child .entry-title {
    padding: 20px 20px 0;
    font-size: 21px;
  }

  body.archive.author .page-content article.post:not(:first-child) p,
  body.archive.author .page-content article.post:first-child p {
    padding: 10px 20px 0;
    font-size: 15px;
    -webkit-line-clamp: 2;
  }
}

/* SBY author archive featured button fix */
body.archive.author .page-content article.post:first-child::after {
  grid-row: 4;
  align-self: start;
  justify-self: start;
  width: auto;
  min-width: 126px;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 767px) {
  body.archive.author .page-content article.post:first-child::after {
    width: fit-content;
    min-width: 0;
  }
}
/* SBY mobile navigation touch targets 2026-08-08 */
@media (max-width: 767px) {
  .elementor-8554 .elementor-element.elementor-element-5a78673 .elementor-icon {
    padding: 7px !important;
  }
  .elementor-8554 .elementor-element.elementor-element-50cdabd .elementor-icon {
    padding: 11px !important;
  }
}/* End custom CSS */