/*
Theme Name: Trick2Deals Pro
Theme URI: https://trick2deals.com/
Author: Trick2Deals
Description: A fast, editorial block theme for trusted deals, savings guides and the Trick2Deals historical archive.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: trick2deals-pro
*/

:root { --t2d-shadow: 0 18px 50px rgba(11,31,51,.10); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .16em; text-decoration-thickness: .08em; }
.wp-site-blocks { overflow: hidden; }
.t2d-card { border: 1px solid #dce5ee; border-radius: 18px; box-shadow: 0 8px 24px rgba(11,31,51,.06); transition: transform .2s ease, box-shadow .2s ease; }
.t2d-card:hover { transform: translateY(-3px); box-shadow: var(--t2d-shadow); }
.t2d-eyebrow { letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; font-weight: 800; }
.t2d-hero { position: relative; isolation: isolate; }
.t2d-hero::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; right: -170px; top: -190px; background: rgba(249,115,22,.16); filter: blur(2px); }
.t2d-brand { letter-spacing: -.045em; text-decoration: none; }
.t2d-brand strong { color: #f97316; }
.t2d-meta { color: #5b6b7c; font-size: .9rem; }
.t2d-notice { border-left: 5px solid #f97316; background: #fff7ed; padding: 1rem 1.15rem; border-radius: 0 12px 12px 0; }
.t2d-contact-form { display: grid; gap: 1rem; }
.t2d-contact-form label { display: grid; gap: .4rem; font-weight: 700; color: #0b1f33; }
.t2d-contact-form input,.t2d-contact-form select,.t2d-contact-form textarea { width: 100%; border: 1px solid #bccbd9; border-radius: 10px; padding: .8rem .9rem; font: inherit; background: #fff; }
.t2d-contact-form input:focus,.t2d-contact-form select:focus,.t2d-contact-form textarea:focus { outline: 3px solid rgba(37,99,235,.18); border-color: #2563eb; }
.t2d-contact-form button { justify-self: start; border: 0; border-radius: 999px; padding: .82rem 1.35rem; font-weight: 800; color: #fff; background: #f97316; cursor: pointer; }
.t2d-hp { position: absolute !important; left: -9999px !important; }
.t2d-form-message { padding: 1rem; border-radius: 10px; margin-bottom: 1rem; }
.t2d-form-success { background: #ecfdf5; color: #065f46; }
.t2d-form-error { background: #fef2f2; color: #991b1b; }
@media (max-width: 781px) {
  .t2d-hero { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
  h1 { line-height: 1.08 !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .t2d-card { transition: none; }
}
