/*!
Theme Name: China Briefing News 2026
Theme URI: https://underscores.me/
Author: China Briefing
Author URI: https://www.china-briefing.com/
Description: China Briefing 2026 Theme Optimized for Lead Gen
Version: 1.0.2
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cb_2026
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

China Briefing News 2026 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* The Lock Effect */
.article-gated-section.is-locked {
    max-height: 180px; /* Shows more of the text before cutting off */
    overflow: hidden;
    position: relative;
    pointer-events: none; /* Prevents text copying */
    margin-bottom: 0; /* Removes bottom spacing so the form sits flush */
	margin-top: 0;
}
.article-gated-section p:first-child:empty{display: none;}

/* The Fade Gradient */
.article-gated-section.is-locked::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 95%);
}

.article-gated-section>*+* {
    margin-top: var(--space-5);
}
.sharedaddy,.jp-relatedposts{display: none;}
table.table{
    width: 100% !important;
    height: auto !important;
}

.input-wrap .input:focus + .field-placeholder,
.input-wrap .input:not(:placeholder-shown) + .field-placeholder {
  top: 10px;
  font-size: 10px !important;
  color: var(--primary-color);
}
body.page{all: revert;}
.highlighted-cta p:empty{display: none;}
.highlighted-cta h2{margin-top:0;margin-bottom: 1rem;}

@media print {
    .article-gated-section.is-locked {
        display: none !important;
    }
    #article-gate-form-wrapper {
        display: none !important;
    }
}