﻿/*
Theme Name:   Fast Residential Conveyancing
Theme URI:    https://example.co.uk/
Author:       Fast Residential Conveyancing
Description:  Professional residential conveyancing theme built with Tailwind CSS. Sage canvas, lime-green CTAs, heavy Inter display type.
Version:      1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  fast-conveyancing
*/

/* Most styling lives in Tailwind utility classes inside the templates.
   Only things Tailwind can't express easily go here. */

body { font-feature-settings: "calt"; }

.display { font-weight: 900; line-height: .85; letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: auto; }

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }

/* Primary menu (output by wp_nav_menu) */
.fc-menu { display: flex; align-items: center; gap: .25rem; font-size: .875rem; font-weight: 600; }
.fc-menu a { display: block; padding: .5rem 1rem; border-radius: 9999px; }
.fc-menu a:hover, .fc-menu .current-menu-item > a, .fc-menu .current_page_item > a { background: #e8ebe6; }
.fc-menu .sub-menu, .fc-menu .children { display: none; }
#mobileMenu .fc-menu { flex-direction: column; align-items: stretch; gap: 0; font-size: 1rem; }
#mobileMenu .fc-menu a { border-radius: 0; padding: 1rem 0; border-bottom: 1px solid #e8ebe6; }
#mobileMenu .fc-menu a:hover { background: transparent; }

/* Footer menu */
.fc-footer-menu li + li { margin-top: .75rem; }
.fc-footer-menu a:hover { color: #9fe870; }

/* Pagination (output by paginate_links / the_posts_pagination) */
.fc-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.fc-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .9rem; border-radius: 9999px; background: #e8ebe6; font-weight: 600; font-size: .875rem; }
.fc-pagination .page-numbers:hover { background: #dde1da; }
.fc-pagination .page-numbers.current { background: #0e0f0c; color: #fff; }
.fc-pagination .page-numbers.dots { background: transparent; }

/* WordPress core classes used inside post content */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .875rem; color: #868685; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Comments */
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 1.5rem; border-radius: 24px; background: #e8ebe6; margin-bottom: 1rem; }
.comment-list .children { list-style: none; margin-top: 1rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid #0e0f0c; border-radius: 12px; padding: .75rem 1rem; }
.comment-form .submit { background: #9fe870; border-radius: 24px; padding: .75rem 1.5rem; font-weight: 600; cursor: pointer; }
