/*
 Theme Name:   twentytwentyfive Child
 Theme URI:    https://yourwebsite.com/twentytwentyfive-child/
 Description:  A child theme for twentytwentyfive, designed to work with Elementor and Rank Math.
 Author:       Your Name
 Author URI:   https://yourwebsite.com/
 Template:     twentytwentyfive
 Version:      1.0.0
 Text Domain:  twentytwentyfive-child
*/

:root {
    --wp--style--global--content-size: 1080px; /* 正文最大宽度 */
    --wp--style--layout-wide-size: 1200px;   /* Wide 块最大宽度 */
    --wp--style--layout-full-size: 100%;     /* Full 块宽度 */
}
/* 正文内容 */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: var(--wp--style--global--content-size); margin-left: auto; margin-right: auto;
}
/* Wide 块 */
.wp-block[data-align="wide"] { max-width: var(--wp--style--layout-wide-size);}
/* Full 块 */
.wp-block[data-align="full"] {  width: var(--wp--style--layout-full-size); }

/* 响应式：平板和手机 */
@media (max-width: 1024px) {
    .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {  max-width: 90%;  }
    .wp-block[data-align="wide"] { max-width: 95%; }
}
@media (max-width: 768px) {
    .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {  max-width: 100%; padding: 0 15px; }
    .wp-block[data-align="wide"] { max-width: 100%; }
}


.single-post .highlight { background-color: #f0f6fc; color: #3c434a; }
.rank-math-list h3{ font-size:1.25rem; } 
.single-post h2.wp-block-heading,.page h2.h2stylecss{ font-size: 2rem; background: #F7F6F2;padding-left: 1%; padding-top: 7px; padding-bottom: 7px; }
.single-post h3.wp-block-heading,.single-post h3.rank-math-question,.page h3.h3stylecss{ font-size: 1.75rem; color:#ff963a }
.single-post b, .single-post strong{ color:#555 }
.single-post .wp-block-video video{width: auto; max-height: 550px;}
a.gt_switcher-popup img{ display:none!important; }a.gt_switcher-popup span{color:#fff!important;}
.gt_languages a.glink img{display:none!important;}.gt_languages a.glink{ line-height:18px; }


