/*
Theme Name: Bilbyrank
Theme URI: https://bilbyrank.com/
Author: Bilbyrank
Author URI: https://bilbyrank.com/
Description: Custom theme for Bilbyrank SEO agency. Dark, animated agency design (GSAP, SplitType, AOS) with editable services, case studies, team, reviews and FAQs (requires the Bilbyrank Core plugin), a real WordPress blog, menus and Customizer settings for every text block.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bilbyrank
Tags: blog, portfolio, one-column, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* Visual styles live in assets/css (loaded in inc/enqueue.php). This file only holds WordPress core class fixes. */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: #000;
	display: block;
	font-size: 14px;
	height: auto;
	left: 5px;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
.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; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 0.875em; opacity: 0.7; }
.sticky, .bypostauthor { display: block; }
.blog-content-box img { max-width: 100%; height: auto; }
.bilbyrank-pagination { display: flex; gap: 10px; justify-content: center; padding: 40px 0 80px; }
.bilbyrank-pagination .page-numbers { color: var(--primary); border: 1px solid #333; padding: 8px 16px; border-radius: 30px; }
.bilbyrank-pagination .page-numbers.current { background: var(--primary); color: #000; }
.bilbyrank-form-notice { margin-top: 20px; padding: 12px 16px; border: 1px solid #444; border-radius: 8px; }
.bilbyrank-form-notice.is-success { border-color: #3c9a5f; }
.bilbyrank-form-notice.is-error { border-color: #b3423a; }
.bilbyrank-hp { position: absolute !important; left: -9999px !important; }
.page-content-default { padding: 80px 0; color: var(--secondary); }
/* Long dropdowns (e.g. Services): tighter spacing so every item fits on screen. */
.header-menu-wrap .navbar .menu li .dropdown-list:has(> li:nth-child(7)) { gap: 22px; width: 280px; padding: 36px 34px; }
.page-content-default h1, .page-content-default h2, .page-content-default h3 { color: var(--primary); }
/* BilbyRank logo (icon + wordmark) */
.header-menu-wrap .logo img { max-width: 172px; }
.footer-area .footer-bottom img.bilby-footer-logo { width: auto; max-width: 92%; height: 205px; object-fit: contain; margin: 0 auto; display: block; }
@media (max-width: 767px) { .footer-area .footer-bottom img.bilby-footer-logo { height: 78px; } }
/* Selected business-type choice on the contact form (set by main.js) */
.radio-btns .radio-btn label.is-checked, label.is-checked { background: #ffffff; color: #000000; }
/* Header fit on laptop widths (logo + 6 menu items + toggle + phone + mail). */
.header-menu-wrap .navbar .menu li a { white-space: nowrap; }
.header-menu-wrap .header-right-info a { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1499px) {
	.header-menu-wrap .navbar .menu { gap: 40px; }
	.header-menu-wrap .header-right-info { gap: 34px; }
	.header-menu-wrap .header-right-info .bilby-theme-toggle { margin-right: -10px; }
}
@media (min-width: 1200px) and (max-width: 1365px) {
	.header-menu-wrap .logo img { max-width: 150px; }
	.header-menu-wrap .navbar .menu { gap: 28px; }
	.header-menu-wrap .header-right-info { gap: 24px; }
	.header-menu-wrap .header-right-info a.with-border { display: none; } /* phone stays in the menu panel and footer */
}
