You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
2.9 KiB

<?php
/**
* Template Name: Privacy & Cookie Policy Template
* Description: Clean policy template with centered content.
*/
?>
<?php get_header(); ?>
<main id="primary" class="site-main policy-template-refactored">
<?php echo do_shortcode('[nenghui_banner_title title="PRIVACY POLICY & COOKIE POLICY" bg_image="https://nenghui.com/wp-content/uploads/2025/08/certificationsaccreditations-banner.webp" description="Discover our comprehensive Privacy Policy and Cookie Policy outlining how we collect, use, and protect your personal information. Learn about your rights regarding your data and how we ensure your online privacy." overlay_opacity="0.5]'); ?>
<!-- Content Section -->
<section class="policy-content-v2">
<div class="container">
<div class="row justify-content-center">
<!-- Main Article -->
<div class="col-lg-12">
<article class="policy-article-v2 card">
<div class="card-body p-4 p-md-5">
<div class="policy-body-content">
<div class="policy-content-inner">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
</div>
</div>
</article>
</div>
</div>
</div>
</section>
</main>
<style>
.policy-body-content {
padding: 20px;
}
/* Refactored Policy Template Styles */
.policy-template-refactored {
background-color: #f4f7fa;
color: #2d3436;
line-height: 1.6;
}
/* Article Card */
.policy-article-v2 {
border: none;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.policy-body-content h2 {
font-size: 26px;
font-weight: 700;
margin: 40px 0 20px;
color: #2d3436;
scroll-margin-top: 120px; /* Offset for sticky header if any */
}
.policy-body-content p {
margin-bottom: 20px;
font-size: 16px;
color: #4b5563;
}
.policy-content-inner {
width: 80%;
margin: 20px auto;
padding: 30px;
font-family: 'Arial', 'Microsoft YaHei', sans-serif;
background: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
word-wrap: break-word;
overflow-wrap: break-word;
}
@media (max-width: 767px) {
.policy-content-inner {
width: 100%;
}
}
/* Print Styles */
@media print {
footer, header {
display: none !important;
}
.policy-content-v2 {
padding: 0;
}
.col-lg-12 {
width: 100% !important;
flex: 0 0 100% !important;
max-width: 100% !important;
}
.policy-article-v2 {
box-shadow: none;
}
}
</style>
<?php get_footer(); ?>