/*
Theme Name: Thistle Estates
Theme URI: https://thistleestates.example
Author: Thistle Estates
Description: Custom real-estate theme for Thistle Estates. Property listings (custom post type), area guides, testimonials, FAQs and a Knowledge Hub. Converted from the Thistle Estates design. Requires Advanced Custom Fields (free).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: thistle
*/

/* The design ships its CSS inline per section. This file only holds the
   theme header (required by WordPress) plus a few global helpers. */

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { margin: 0; padding: 0; background: #ffffff; }
body { font-family: 'Arial Rounded MT Bold', 'Arial Rounded MT', 'Helvetica Rounded', Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; }
.site-main { display: block; }

/* Subtle scroll-reveal. Elements only start hidden once JS has added .thistle-js,
   so the page stays fully visible if JavaScript is disabled. */
.thistle-js .thistle-reveal { opacity: 0; transform: translateY(24px); will-change: opacity, transform; transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.thistle-js .thistle-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .thistle-js .thistle-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* WordPress core alignment / caption helpers (kept minimal) */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
