.wp-block-uagb-image--layout-overlay__color-wrapper {
	background: rgba(0,0,0,0.0) !important;
}

.site .site-content #primary .ast-article-single {
	padding-top: 10px !important;
}
.home .shorten_url {
    display: none;
}

:where(body, iframe, pre, img, svg, video, canvas, select) {
	max-width: 100%;
	overflow: auto;
	word-break: break-word;
}

/* general */
.ast-footer-copyright {
	line-height: 1.1em;
}
.entry-title {
	margin-top: 0.6em;
}
.site-title {
	text-align: center;
}
.entry-meta {
	display: none;
}
.uagb-post__comment {
	display: none !important;
}
ul.wp-block-post-template {
	margin: 0px;
}
a.wp-block-latest-posts__read-more:link {
	border: 1.5px solid var(--ast-global-color-3);
	padding: 1px 5px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.8em;
}
@media (min-width: 993px) {
  .ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
    margin: 0.5em 0;
    padding: 0;
  }
}
@media (min-width: 922px) and (max-width:993px) {
  .ast-separate-container #primary {
    padding: 0.5em 0px;
  }
}
@media (min-width: 922px) {
  .ast-separate-container .ast-woocommerce-container {
    padding: 0.5em 3em;
  }
/* 
  .ast-below-header-bar.ast-below-header {
  	height: 43px;
  }
 */
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
	padding: 0px;
}
@media (max-width: 1200px) {
  .ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
    margin: 0;
    padding: 0.5em 2.4em;
  }
}
.entry-content .wp-block-cover:not([class*="background-color"]):not(.has-text-color.has-link-color) .wp-block-cover__inner-container {
	line-height: 3em;
}
ul.wp-block-list {
	margin: -1.5em 0 2em 3em !important;
}
.woocommerce-MyAccount-navigation {
	display: none !important;
}
.woocommerce-js table.my_account_orders .order-actions .cancel {
	display: none !important;
}
table.my_account_orders tbody tr > td:nth-child(1), table.my_account_memberships tbody tr > td:nth-child(1) {
    background-color: var(--ast-global-color-5); 
}
div#my-account-menu ul li {
	padding-left: 5px;
}
span.member-title-display {
	color: var(--ast-global-color-0);
	font-weight: 500;
	border-top: 2px solid;
	padding: 3px;
	margin: auto;
}
span.member-join-display {
	color: var(--ast-global-color-1);
	margin: auto;
	font-size: 0.95em;
}
span.member-join-display a {
	text-decoration: underline;;
}
.ast-header-account-wrap .ast-header-account-text {
	  font-weight: 700;
}
@media (max-width: 921px) {
	.ast-header-account-wrap a:link, .ast-header-account-wrap a:visited .ast-header-account-wrap a:active {
		color: var(--ast-global-color-4);
	}
	.ast-header-account-wrap a:hover {
		color: var(--ast-global-color-1);
	}
	.ast-header-account-wrap .ast-header-account-text {
	  	font-size: 1.1em;
	}
	span.member-title-display, span.member-join-display {
		line-height: 20px;
		margin-bottom: 20px;
    	margin-top: -20px;
    	font-size: 1.1em;
	}
	span.member-title-display {
		border-bottom: 2px solid;
	}	
}


#block-36 p {
	margin-bottom: 0;
}
span.member-display-separator {
	margin-left: 10px;
}
div.payme_method b.order_details_payme {
	font-size: 20px;
	color: #000;
}
div.payme_method b.order_details_payme2 {
	font-size: 1.1em;
	color: #000;
}
.wp-block-image {
	text-align: center;
}

.wp-block-button .wp-block-button__link {
  color: var(--ast-global-color-4) !important;
}
wc-block-components-button:not(.is-link) .wc-block-components-button__text {
	font-size: 1.2em;
}

.wc-block-components-formatted-money-amount, .wc-block-cart-items__header-total span {
	margin-right:10px;
}
h3.wc-block-components-product-name {
	font-size: 1.5em;
}
/* 
.woocommerce-js div.product div.summary .single-product-category {
	display: none;
}
 */
.single-product div.product .product_meta {
	display: none;
}
.sca-product-content {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #ccc;
}

.ast-page-builder-template .entry-header {
	margin-top:2em;
}
.ast-page-builder-template .site .site-content #primary, .site-footer {
	/* padding: 0 20px; */
}

.woocommerce div.product p.price {
	padding-bottom: 15px;
}
.woocommerce-js div.product span.onsale {
	background-color: var(--ast-global-color-1);
	color: white;
	padding:8px;
	min-height: 1.5em;
	min-width: 1.5em;
	line-height: 1.5em;
	-moz-transform:rotate(-40deg);
	-webkit-transform:rotate(-40deg);
	-o-transform:rotate(-40deg);
	-ms-transform:rotate(-40deg);
	transform:rotate(-40deg);
}
.woocommerce-bacs-bank-details {
	margin-top: 20px;
}
.ast-post-social-sharing .ast-social-inner-wrap {
	padding: 2px;
}
.event .entry-header .entry-meta {
	display: none;
}
.em.pixelbones .input div.input-wrap, .em.pixelbones .input input[type="email"], .em.pixelbones .input input[type="number"], .em.pixelbones .input input[type="search"], .em.pixelbones .input input[type="text"], .em.pixelbones .input input[type="select-one"], .em.pixelbones .input input[type="tel"], .em.pixelbones .input input[type="url"], .em.pixelbones .input input[type="password"], .em.pixelbones .input input[type="select-type"], .em.pixelbones .input textarea, .em.pixelbones .input select:not([multiple]), .em.pixelbones.input div.input-wrap, .em.pixelbones.input input[type="email"], .em.pixelbones.input input[type="number"], .em.pixelbones.input input[type="search"], .em.pixelbones.input input[type="text"], .em.pixelbones.input input[type="select-one"], .em.pixelbones.input input[type="tel"], .em.pixelbones.input input[type="url"], .em.pixelbones.input input[type="password"], .em.pixelbones.input input[type="select-type"], .em.pixelbones.input textarea, .em.pixelbones.input select:not([multiple]) {
	border: 1px solid #333 !important;
}
.em.pixelbones .input input[type="checkbox"], .em.pixelbones .input input[type="radio"], .em.pixelbones.input input[type="checkbox"], .em.pixelbones.input input[type="radio"] {
	border: 1.5px solid #888 !important;
}
.em.pixelbones.input input[type="submit"]:not([data-nostyle]), .em.pixelbones .input input[type="submit"]:not([data-nostyle]) {
	font-size: 1.2em !important;
	line-height: 0em !important;
	padding: 25px !important;
	border: 1px solid #333 !important;
}
.yith-back-to-memberships {
	margin-left: 5px !important;
}
.yith-my-membership-content, .yith-my-membership-products, .yith-my-membership-discounts, .yith-my-membership-notes, .yith-my-membership-details {
	margin-left: 25px !important;
}

.event_payment_icon {
	height: 30px;
	width: auto;
	margin-left: 15px;
}
.em-payment-gateway-option-radio {
	margin: 20px;
}

/*tdc event*/
.sca-event-info {
	margin-bottom:3em;
}
.sca-event-table-left, .sca-event-table-right {
  width:45%;
  display: inline-block;
  padding: 0 20px;
  vertical-align: top;
}
@media (max-width: 922px) {
	.sca-event-table-left, .sca-event-table-right {
		width:100%;
	}
}

.sca-event-genInfo {
	border: 3px solid #ff6600;
	padding: 10px;
	margin: 20px 10px 30px;
}


.wp-block-latest-posts__post-title {
    font-weight: bolder;   
    font-size: 110%;   
    color: black; 
} 
.wp-block-latest-posts__post-date {
    font-size: 80% !important;
}
.wp-block-latest-posts__post-excerpt {
    font-size: 88%;
}
.wp-block-latest-posts__featured-image img {
	width: 150px !important;
}
@media (max-width: 640px) {
	.wp-block-latest-posts__featured-image img {
		width: 120px !important;
	}
	.wp-block-latest-posts > li > * {
		margin-top: 0px;
	}
}


/* golden tongue event page */

/* 基礎樣式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.golden-t-coffee-comp {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px;
    color: #333;
    line-height: 1.5;
}

/* 頁頭 */
.golden-t-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2e7d32;
}

.golden-t-main-title {
    color: #1b5e20;
    font-size: 28px;
    margin-bottom: 15px;
}

.golden-t-time {
    background-color: #e8f5e9;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    color: #1b5e20;
    border-left: 5px solid #4caf50;
    display: inline-block;
    font-size: 16px;
}

/* 卡片樣式 */
.golden-t-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.golden-t-card .golden-t-card-title {
    color: #2e7d32;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c8e6c9;
}

/* 賽程安排 - 單欄 */
.golden-t-day-card {
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.golden-t-day-header {
    background-color: #2e7d32;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 修正：第1日、第2日字體用白色 */
.golden-t-day-title {
    margin: 0;
    color: white;
    font-size: calc(var(--font-size) + 14px) !important;
    font-weight: 400;
    line-height: 1.35 !important;
}

.golden-t-day-tag {
    background-color: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: white;
}

.golden-t-day-content {
    padding: 20px;
}

.golden-t-stage .golden-t-stage-title {
    color: #1b5e20;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.golden-t-info-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.golden-t-info-box {
    flex: 1;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.golden-t-info-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.golden-t-info-value {
    font-weight: bold;
    color: #1b5e20;
    font-size: 16px;
}

.golden-t-stages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.golden-t-small-stage {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.golden-t-small-stage .golden-t-small-stage-title {
    color: #2e7d32;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.golden-t-stage-info {
    font-size: 14px;
}

.golden-t-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 12px;
    border-radius: 8px;
}

.golden-t-progress-item {
    background-color: #4caf50;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.golden-t-progress-item.golden-t-active {
    background-color: #2e7d32;
}

.golden-t-arrow {
    color: #666;
    margin: 0 10px;
    font-weight: bold;
}

/* 比賽規則 - 重新調整佈局，防止WordPress p標籤影響 */
.golden-t-rules-container {
    /* 確保容器正常顯示 */
}

/* 桌面端：兩欄佈局 */
.golden-t-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
    /* 強制清除浮動和間距 */
    overflow: hidden;
    clear: both;
}

.golden-t-rules-col {
    display: flex;
    flex-direction: column;
    /* 防止WordPress添加的p標籤影響佈局 */
    overflow: hidden;
}

/* 明確指定左右欄位置 */
.golden-t-left-col {
    /* 左欄不需要特殊樣式，grid會自動處理 */
}

.golden-t-right-col {
    /* 右欄不需要特殊樣式，grid會自動處理 */
}

.golden-t-rule-section {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    height: 100%;
    /* 防止p標籤影響 */
    overflow: hidden;
}

.golden-t-rule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    /* 防止p標籤影響 */
    overflow: hidden;
}

.golden-t-rule-section .golden-t-rule-title {
    margin: 0;
    color: #1b5e20;
    font-size: 18px;
    /* 防止p標籤影響 */
    display: block;
}

.golden-t-rule-tag {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    /* 防止p標籤影響 */
    display: inline-block;
}

.golden-t-setup {
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    /* 防止p標籤影響 */
    overflow: hidden;
}

.golden-t-setup-title {
    font-weight: bold;
    color: #2e7d32;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #ccc;
    /* 防止p標籤影響 */
    display: block;
}

.golden-t-coffee-type {
    background-color: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 3px solid #4caf50;
    /* 防止p標籤影響 */
    overflow: hidden;
}

.golden-t-type-title {
    font-weight: bold;
    color: #1b5e20;
    margin-bottom: 8px;
    font-size: 16px;
    /* 防止p標籤影響 */
    display: block;
}

.golden-t-type-desc div {
    margin: 6px 0;
    font-size: 14px;
    /* 防止p標籤影響 */
    display: block;
}

.golden-t-type-desc em {
    background-color: #fff3e0;
    color: #e65100;
    font-style: italic;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 3px;
}

.golden-t-qualify {
    background-color: #e8f5e9;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    font-weight: bold;
    color: #1b5e20;
    text-align: center;
    font-size: 15px;
    /* 防止p標籤影響 */
    display: block;
}

/* 準決賽 & 決賽規則 - 單欄樣式 */
.golden-t-final-rule {
    background-color: #f1f8e9;
    border: 2px solid #c8e6c9;
    margin-top: 10px;
    /* 防止p標籤影響 */
    overflow: hidden;
}

.golden-t-final-tag {
    background-color: #ffecb3;
    color: #ff8f00;
}

.golden-t-coffee-type-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 15px;
    /* 防止p標籤影響 */
    overflow: hidden;
}

.golden-t-wide-type {
    margin-bottom: 0;
}

.golden-t-final-qualify {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-left: 5px solid #ff8f00;
    font-size: 16px;
    padding: 15px;
}

/* 規則變化對比 - 單欄 */
.golden-t-compare {
    margin-top: 20px;
}

.golden-t-compare-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
    font-size: 15px;
}

.golden-t-compare-table th, .golden-t-compare-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.golden-t-table-header {
    background-color: #2e7d32;
    color: white;
}

.golden-t-table-header th {
    font-weight: bold;
    text-align: center !important;
}

.golden-t-highlight-row {
    background-color: #f1f8e9;
}

.golden-t-level {
    font-size: 13px;
    color: #4caf50;
    font-weight: bold;
}

/* 特別針對WordPress p標籤問題的修復 */
.golden-t-stage > p,
.golden-t-day-card > p,
.golden-t-day-header > p,
.golden-t-day-content > p,
.golden-t-info-box > p,
.golden-t-info-row > p,
.golden-t-stages-grid > p,
.golden-t-small-stage > p,
.golden-t-stage-info > p,
.golden-t-rules-grid > p,
.golden-t-rules-col > p,
.golden-t-rule-section > p,
.golden-t-rule-content > p,
.golden-t-setup > p,
.golden-t-coffee-type > p,
.golden-t-type-desc > p {
    /* 隱藏WordPress自動添加的p標籤 */
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 確保我們自己的div內容正常顯示 */
.golden-t-type-desc div {
    display: block !important;
}

/* 響應式設計 - 針對不同設備尺寸 */

/* 平板尺寸 (768px - 1024px) */
@media (max-width: 1024px) {
    .golden-t-coffee-comp {
        padding: 20px;
    }
    
    .golden-t-main-title {
        font-size: 26px;
    }
    
    .golden-t-card .golden-t-card-title {
        font-size: 21px;
    }
    
    .golden-t-card {
        padding: 22px;
    }
    
    /* 平板端保持兩欄，但減少間距 */
    .golden-t-rules-grid {
        gap: 20px;
    }
    
    .golden-t-stages-grid {
        gap: 12px;
    }
    
    .golden-t-info-row {
        gap: 12px;
    }
    
    .golden-t-coffee-type-row {
        gap: 15px;
    }
}

/* 中型平板尺寸 (600px - 768px) */
@media (max-width: 768px) {
    .golden-t-coffee-comp {
        padding: 18px;
    }
    
    .golden-t-main-title {
        font-size: 24px;
    }
    
    .golden-t-card .golden-t-card-title {
        font-size: 20px;
    }
    
    .golden-t-card {
        padding: 20px;
    }
    
    /* 中型平板：兩欄變為單欄 */
    .golden-t-rules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .golden-t-stages-grid {
        grid-template-columns: 1fr;
    }
    
    .golden-t-info-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .golden-t-progress {
        flex-wrap: wrap;
        padding: 10px;
    }
    
    .golden-t-arrow {
        margin: 0 8px;
    }
    
    .golden-t-coffee-type-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .golden-t-compare-table {
        font-size: 14px;
    }
    
    .golden-t-compare-table th, .golden-t-compare-table td {
        padding: 12px;
    }
    
    /* 確保左右欄在單欄模式下正確堆疊 */
    .golden-t-left-col,
    .golden-t-right-col {
        width: 100%;
        max-width: 100%;
    }
}

/* 手機尺寸 (480px - 600px) */
@media (max-width: 600px) {
    .golden-t-coffee-comp {
        padding: 15px;
    }
    
    .golden-t-main-title {
        font-size: 22px;
    }
    
    .golden-t-card {
        padding: 18px;
    }
    
    .golden-t-day-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .golden-t-day-tag {
        margin-top: 0;
    }
    
    .golden-t-rule-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .golden-t-rule-tag {
        margin-top: 0;
    }
    
    .golden-t-progress {
        flex-direction: column;
        gap: 10px;
    }
    
    .golden-t-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    
    /* 多語言兼容的響應式表格樣式 */
    .golden-t-compare-table {
        border: 0;
    }
    
    .golden-t-compare-table thead {
        display: none;
    }
    
    .golden-t-compare-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .golden-t-compare-table td {
        display: block;
        text-align: right;
        padding: 12px 15px;
        border-bottom: 1px solid #e0e0e0;
        position: relative;
    }
    
    .golden-t-compare-table td:last-child {
        border-bottom: 0;
    }
    
    .golden-t-compare-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: bold;
        color: #2e7d32;
        font-size: 14px;
        text-align: left;
        width: 40%;
    }
    
    .golden-t-compare-table td > * {
        text-align: left;
        margin-left: 45%;
        width: 55%;
    }
}

/* 小手機尺寸 (小於480px) */
@media (max-width: 480px) {
    .golden-t-coffee-comp {
        padding: 12px;
    }
    
    .golden-t-main-title {
        font-size: 20px;
    }
    
    .golden-t-card {
        padding: 15px;
    }
    
    .golden-t-card .golden-t-card-title {
        font-size: 18px;
    }
    
    .golden-t-time {
        font-size: 15px;
        padding: 10px;
    }
    
    .golden-t-day-content,
    .golden-t-rule-section,
    .golden-t-setup {
        padding: 15px;
    }
    
    .golden-t-info-box,
    .golden-t-small-stage,
    .golden-t-coffee-type {
        padding: 12px;
    }
    
    .golden-t-progress-item {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    /* 小螢幕的表格樣式調整 */
    .golden-t-compare-table td:before {
        position: static;
        transform: none;
        display: block;
        width: 100%;
        margin-bottom: 5px;
        text-align: left;
        font-size: 14px;
    }
    
    .golden-t-compare-table td > * {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }
    
    .golden-t-compare-table td {
        text-align: left;
        padding: 15px;
    }
    
    .golden-t-compare-table td:before {
        font-size: 14px;
        margin-bottom: 8px;
        color: #1b5e20;
        font-weight: bold;
    }
    
    /* 調整內邊距 */
    .golden-t-type-desc div {
        font-size: 13px;
    }
    
    .golden-t-qualify,
    .golden-t-final-qualify {
        font-size: 14px;
        padding: 10px;
    }
}

/* 超小手機尺寸 (小於360px) */
@media (max-width: 360px) {
    .golden-t-coffee-comp {
        padding: 10px;
    }
    
    .golden-t-main-title {
        font-size: 18px;
    }
    
    .golden-t-card {
        padding: 12px;
    }
    
    .golden-t-card .golden-t-card-title {
        font-size: 17px;
    }
    
    .golden-t-day-title,
    .golden-t-rule-section .golden-t-rule-title {
        font-size: 16px;
    }
    
    .golden-t-stage .golden-t-stage-title {
        font-size: 16px;
    }
    
    .golden-t-small-stage .golden-t-small-stage-title {
        font-size: 15px;
    }
    
    .golden-t-info-value,
    .golden-t-setup-title,
    .golden-t-type-title {
        font-size: 15px;
    }
    
    .golden-t-time {
        font-size: 14px;
        padding: 8px;
    }
    
    .golden-t-day-content,
    .golden-t-rule-section,
    .golden-t-setup {
        padding: 12px;
    }
    
    .golden-t-info-box,
    .golden-t-small-stage,
    .golden-t-coffee-type {
        padding: 10px;
    }
}