/*
Theme Name: Swiss WP Secure
Theme URI: https://swisswpsecure.com
Author: Swiss WP Secure
Author URI: https://swisswpsecure.com
Description: Minimal FSE block theme for Swiss WP Secure. No auto-updater, no AI website builder, no bundled telemetry — templates/parts/theme.json only, plus the site's own custom functions.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.0
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swisswpsecure-theme
*/
/* ==========================================================================
   Consolidated from inline <style> blocks (2026-07-11 perf cleanup)
   Site-wide rules below; per-page rules scoped by body class where the
   same class name is reused across pages with different values.
   ========================================================================== */

/* --- parts/header.html (applies everywhere, was already global) --- */
.hostinger-ai-site-title { white-space: nowrap; }
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  color: var(--wp--preset--color--color2) !important;
}
@media (max-width: 782px) {
  .hostinger-ai-menu-wrapper {
    flex-wrap: nowrap !important;
  }
}

/* --- templates/page-2fa-recovery.html (unique classes, no collision) --- */
.swiss-2fa-card { background: var(--wp--preset--color--light, #ffffff); border-radius: 16px; padding: 2.5rem; max-width: 560px; margin: 0 auto; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.swiss-2fa-notice { background: rgba(225,215,198,0.35); border: 1px solid var(--wp--preset--color--color3, #5A504A); border-left: 4px solid var(--wp--preset--color--color3, #5A504A); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.65; color: var(--wp--preset--color--color2, #2C2A29); }
.swiss-2fa-field { margin-bottom: 1.5rem; }
.swiss-2fa-label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--wp--preset--color--color2, #2C2A29); margin-bottom: 0.45rem; }
.swiss-2fa-input { display: block; width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--wp--preset--color--grey); border-radius: 8px; font-size: 1rem; font-family: inherit; color: var(--wp--preset--color--color2, #2C2A29); background: #fff; box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s; }
.swiss-2fa-input:focus { outline: none; border-color: var(--wp--preset--color--color3, #5A504A); box-shadow: 0 0 0 3px rgba(90,80,74,0.12); }
.swiss-2fa-helper { font-size: 0.82rem; color: var(--wp--preset--color--color3, #5A504A); margin-top: 0.4rem; line-height: 1.5; }
.swiss-2fa-btn { display: block; width: 100%; padding: 0.875rem 2rem; background: var(--wp--preset--color--color3, #5A504A); color: var(--wp--preset--color--light, #ffffff); border: none; border-radius: 30px; font-size: 1rem; font-weight: 600; font-family: inherit; cursor: pointer; margin-top: 0.5rem; transition: opacity 0.2s, transform 0.1s; }
.swiss-2fa-btn:hover:not(:disabled) { opacity: 0.88; transform: translateY(-1px); }
.swiss-2fa-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.swiss-2fa-success { display: none; background: #f0fdf4; border: 1px solid #86efac; border-left: 4px solid #16a34a; border-radius: 8px; padding: 1.5rem; color: #14532d; line-height: 1.75; font-size: 0.975rem; }
.swiss-2fa-error { display: none; color: #b91c1c; font-size: 0.875rem; margin-top: 0.75rem; padding: 0.75rem 1rem; background: #fef2f2; border: 1px solid #fca5a5; border-radius: 6px; line-height: 1.55; }
@media (max-width: 600px) { .swiss-2fa-card { padding: 1.75rem 1.25rem; } }

/* --- templates/page-comparison.html (unique classes, no collision) --- */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid #eee; margin-top: 40px; }
.grid-header { padding: 30px 20px; text-align: center; font-weight: 700; font-size: 1.2rem; background: #fff; border-bottom: 2px solid #f0f0f0; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 140px; }
.grid-row { display: contents; }
.grid-cell { padding: 25px; background: #fff; display: flex; align-items: center; justify-content: center; text-align: center; border-bottom: 1px solid #f9f9f9; font-size: 1.1rem; color: #555; }
.feature-cell { justify-content: flex-start; text-align: left; font-weight: 600; color: #333; background: #fafbfc; border-right: 1px solid #eee; }
.swiss-cell { background: rgba(90,80,74,0.03); font-weight: 700; color: #222; border-left: 1px solid #eee; border-right: 1px solid #eee; }
.competitor-cell { color: #888; }
.check-icon { color: #27ae60; font-size: 1.4rem; margin-right: 8px; }
.cross-icon { color: #e74c3c; font-size: 1.4rem; }
.question-icon { color: #f39c12; font-size: 1.4rem; }
.swiss-header { background: var(--wp--preset--color--color3, #5A504A) !important; color: white !important; position: relative; }
.recommended-badge { background: #27ae60; color: white; font-size: 0.75rem; font-weight: 800; padding: 4px 12px; border-radius: 12px; text-transform: uppercase; margin-bottom: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); display: inline-block; }

/* --- templates/page-about.html (unique classes, no collision) --- */
.value-card { background: #ffffff; border-radius: 16px; padding: 40px 30px; box-shadow: 0 4px 6px rgba(0,0,0,0.04); border: 1px solid var(--wp--preset--color--grey); height: 100%; }
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 24px rgba(0,0,0,0.08); border-bottom: 3px solid var(--wp--preset--color--color3, #5A504A); transition: all 0.3s ease; }
.ai-partner-pill { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid var(--wp--preset--color--grey); border-radius: 40px; padding: 12px 24px; font-weight: 600; font-size: 0.95rem; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.founder-photo { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); width: 100%; max-width: 420px; display: block; }

/* --- templates/page-products.html (scoped: .wp-block-buttons is a shared
   WP core class used on every page with a buttons block) --- */
body.page-id-11 .wp-block-buttons { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 0.5rem !important; justify-content: center !important; }
body.page-id-11 .wp-block-buttons .wp-block-button { width: auto !important; display: inline-block !important; margin: 0 !important; }
body.page-id-11 .wp-block-buttons .wp-block-button__link { padding: 0.6rem 1.2rem !important; white-space: nowrap !important; }

/* --- templates/home.html (scoped: .service-card / .blog-* classes are
   reused on the blog page with different values) --- */
body.home .service-card { background: #ffffff; border-radius: 16px; padding: 30px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); border: 1px solid rgba(0, 0, 0, 0.08); height: 100%; display: flex; flex-direction: column; justify-content: flex-start; }
body.home .service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-bottom: 4px solid var(--wp--preset--color--color3); }
.blog-hero-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
body.home .blog-category-tabs { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
body.home .blog-tab { background: transparent; border: 2px solid #B8C0CC; color: #0d141a; padding: 0.6rem 1.5rem; border-radius: 50px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
body.home .blog-tab:hover { border-color: #5A504A; color: #5A504A; }
body.home .blog-tab.active { background: #5A504A; border-color: #5A504A; color: #ffffff; }
body.home .blog-category-badge { margin-bottom: 0.5rem !important; }
body.home .blog-category-badge a { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none !important; background: #E1D7C6; color: #5A504A; }
body.home .blog-post-card { background: #ffffff; border-radius: 16px; border: 1px solid rgba(0,0,0,0.08); overflow: hidden; transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1); height: 100%; }
body.home .blog-post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
body.home .blog-post-hidden { display: none !important; }
body.home .blog-no-results { text-align: center; padding: 3rem 1rem; color: #5A504A; font-size: 1.1rem; display: none; }
body.home .blog-no-results.visible { display: block; }
@media (max-width: 768px) { body.home .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 480px) { body.home .blog-category-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; } body.home .blog-tab { white-space: nowrap; flex-shrink: 0; } }

/* --- templates/page-blog.html (scoped: .service-card is reused on the
   front page with different values) --- */
body.blog .service-card { background: #ffffff; border-radius: 16px; padding: 30px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1); border: 1px solid rgba(0,0,0,0.08); height: 100%; display: flex; flex-direction: column; }
body.blog .service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border-bottom: 4px solid var(--wp--preset--color--color3, #5A504A); }
