/* v2.4 - This section is normal Gutenberg blocks stored in a private WP Page.
   Scoped to .yb-footer-panel: no surprise styling changes elsewhere. */
.yb-global-footer--blocks {padding:0!important;margin:0!important;background:transparent!important;text-align:left!important;overflow:visible;}
.yb-global-footer--blocks .yb-footer-panel,
.editor-styles-wrapper .yb-footer-panel {
  box-sizing:border-box; width:100%;max-width:none!important;margin:0!important;
  color:#f6efe5; font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC","Microsoft JhengHei","PingFang TC",sans-serif;
}
.yb-global-footer--blocks .yb-footer-panel *, .editor-styles-wrapper .yb-footer-panel * {box-sizing:border-box;}
.yb-global-footer--blocks .yb-footer-panel > *,
.editor-styles-wrapper .yb-footer-panel > * {max-width:1160px;margin-left:auto!important;margin-right:auto!important;}
.yb-footer-panel .yb-footer-panel-columns {display:flex;gap:clamp(26px,4vw,64px);align-items:flex-start;flex-wrap:nowrap;margin-bottom:36px!important;}
.yb-footer-panel .yb-footer-panel-columns > .wp-block-column {min-width:0;flex-grow:1;}
.yb-footer-panel .yb-footer-panel-logo {max-width:208px!important;margin:0 0 19px!important;}
.yb-footer-panel .yb-footer-panel-logo img {width:100%;height:auto;display:block;background:#fffdf8;border-radius:5px;padding:6px;}
.yb-footer-panel .yb-footer-panel-heading {font-size:clamp(17px,1.3vw,20px);font-weight:800;line-height:1.5;color:#fff!important;margin:0 0 18px!important;}
.yb-footer-panel .yb-footer-panel-description {font-size:14px;line-height:2;color:#d7cabe!important;margin:0 0 18px!important;}
.yb-footer-panel .yb-footer-panel-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:0!important;list-style:none!important;margin:0!important;}
.yb-footer-panel .yb-footer-panel-links li {margin:0!important;padding:0!important;list-style:none!important;}
.yb-footer-panel .yb-footer-panel-links a {color:#e8dcd0!important;font-size:14px;line-height:1.75;text-decoration:none!important;}
.yb-footer-panel .yb-footer-panel-links a:hover {color:#fff!important;text-decoration:underline!important;}
.yb-footer-panel .yb-footer-panel-actions {margin:20px 0!important;}
.yb-footer-panel .yb-footer-panel-line .wp-block-button__link {min-height:44px;background:#f5c84b!important;color:#30271d!important;font-size:14px;font-weight:850;text-decoration:none!important;letter-spacing:0;padding:13px 22px;border-radius:5px;}
.yb-footer-panel .yb-footer-panel-line .wp-block-button__link:hover {background:#ffe089!important;}
.yb-footer-panel .yb-footer-panel-info {font-size:13px;line-height:1.85;color:#c5b7a7!important;overflow-wrap:anywhere;}
.yb-footer-panel .yb-footer-panel-rule {max-width:1160px!important;width:100%;border:0!important;border-top:1px solid rgba(255,255,255,.24)!important;height:0!important;background:transparent!important;margin:0 auto 22px!important;}
.yb-footer-panel .yb-footer-panel-bottom {display:flex;align-items:center;gap:24px;justify-content:space-between;margin:0 auto!important;}
.yb-footer-panel .yb-footer-panel-bottom > .wp-block-column {min-width:0;}
.yb-footer-panel .yb-footer-panel-bottom > .wp-block-column:last-child {text-align:right;}
.yb-footer-panel .yb-footer-panel-small {margin:0!important;font-size:12px!important;color:#bcb0a1!important;line-height:1.6!important;}
.yb-footer-panel .yb-footer-panel-small a {color:#e6dbd0!important;text-decoration:underline;text-underline-offset:3px;}
/* Prevent Hello Elementor/global theme rules from modifying the section's image and headings */
.yb-global-footer--blocks .yb-footer-panel .wp-block-image img {max-width:100%;}
.editor-styles-wrapper .yb-footer-panel .yb-footer-panel-heading,
.editor-styles-wrapper .yb-footer-panel .yb-footer-panel-description,
.editor-styles-wrapper .yb-footer-panel .yb-footer-panel-info {color:inherit;}
.editor-styles-wrapper .yb-footer-panel .yb-footer-panel-heading {color:#fff!important;}
.editor-styles-wrapper .yb-footer-panel .yb-footer-panel-description {color:#d7cabe!important;}
.editor-styles-wrapper .yb-footer-panel .yb-footer-panel-info {color:#c5b7a7!important;}
@media(max-width:780px){
 .yb-footer-panel .yb-footer-panel-columns {flex-wrap:wrap;flex-direction:column;gap:27px!important;margin-bottom:30px!important;}
 .yb-footer-panel .yb-footer-panel-columns > .wp-block-column {width:100%!important;flex-basis:auto!important;}
 .yb-footer-panel .yb-footer-panel-bottom {flex-direction:column;align-items:flex-start;gap:8px!important;}
 .yb-footer-panel .yb-footer-panel-bottom > .wp-block-column {width:100%!important;flex-basis:auto!important;}
 .yb-footer-panel .yb-footer-panel-bottom > .wp-block-column:last-child {text-align:left;}
}
