/* === Google Ads Policy Center – Front‑end Library Styles === */

body #wrapper .gapc-library h3 {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}

body .post-content .gapc-library a {
    color: #ffffff;
}

.single-gapc label {
    display: flex;
}

.gapc-single {
    padding-top: 60px;
    padding-bottom: 60px;
}

.single-gapc .wp-video {
    max-width: 1000px !important;
    height: auto;
    margin: 0 auto;
    width: 100% !important;
    margin-top: 30px;
}

.single h1.entry-title {
    margin-top: 0;
    font-weight: 600;
      margin-bottom: 0px;
}

.mejs-container.mejs-video {
    max-width: 100%;
    width: 100% !important;
    height: auto;
}

.single-gapc article {
    text-align: center;
}
.single-gapc article p {
max-width: 700px;
    margin: 0 auto;
    margin-top: 30px;
}

.gapc-library{
    display:flex;
    gap:2rem;
}
.gapc-library-sidebar{
    flex: 0 0 300px;
    padding-right:1.5rem;
    border-right:1px solid #e2e8f0;
}
.gapc-search-wrap{
    margin-bottom:1rem;
}
#gapc-search{
    width:100%;
    padding:0.5rem 0.75rem;
    border:1px solid #cbd5e0;
    border-radius:6px;
    font-size:1rem;
}
.gapc-filter-heading{
    font-size:1rem;
    font-weight:600;
    margin:1.25rem 0 0.5rem;
}
.gapc-topic-list{
    list-style:none;
    padding:0;
    margin:0 0 1rem 0;
}
.gapc-topic-list li{
    margin-bottom:0.25rem;
}
/* --- Custom Checkboxes (20px × 20px, clean & spacious) --- */
.gapc-topic-list input[type="checkbox"]{
    /* Remove default checkbox */
    -webkit-appearance:none;
    appearance:none;
    /* Size & spacing */
    width:20px;
    height:20px;
    margin-right:0.75rem;
    /* Visuals */
    border:2px solid #cbd5e0;
    border-radius:4px;
    background-color:#ffffff;
    cursor:pointer;
    position:relative;
    display:inline-block;
    vertical-align:middle;
    transition:background-color 0.2s ease, border-color 0.2s ease;
}
.gapc-topic-list input[type="checkbox"]:focus-visible{
    outline:2px solid #2563eb;
    outline-offset:2px;
}
.gapc-topic-list input[type="checkbox"]:checked{
    background-color:#2563eb;
    border-color:#2563eb;
}
.gapc-topic-list input[type="checkbox"]::after{
    content:'';
    position:absolute;
    inset:0;
    width:10px;
    height:6px;
    border:solid #ffffff;
    border-width:0 0 2px 2px;
    transform:translate(4px,6px) rotate(-45deg);
    opacity:0;
    transition:opacity 0.2s ease;
    top: -3px;
    left: -2px;
}
.gapc-topic-list input[type="checkbox"]:checked::after{
    opacity:1;
}

.gapc-filter-btn {
background: #FFC107;
    color: #ffffff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    width: 150px;
}
.gapc-filter-btn:hover{
    opacity:0.9;
}

/* --- Grid --- */
.gapc-library-grid{
    flex:1;
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(260px,1fr));
    gap:2rem;
}
.gapc-card{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:8px;
    padding:1.25rem;
    display:flex;
    flex-direction:column;
    box-shadow:0 1px 2px rgba(0,0,0,0.05);
    transition:box-shadow 0.2s ease;
}
.gapc-card:hover{
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}
.gapc-card-img img{
    width:100%;
    height:auto;
    border-radius:4px;
}
.gapc-card-title{
    font-size:1.125rem;
    margin:1rem 0 0.5rem;
}
.gapc-card-excerpt{
    flex-grow:1;
    color:#4a5568;
    font-size:0.9375rem;
}
.gapc-download-btn {
    background-color: #3A99DB;
    color: #ffffff;
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    width: 100%;
}
.gapc-download-btn:hover{
    opacity:0.9;
}
