/* Hosts365 brand extras that theme.json can't express. */

/* Logo: lowercase "hosts" + 365 tile */
.h365-logo { display: inline-flex; align-items: center; gap: 4px; font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 1.5rem; letter-spacing: -0.03em; color: #0B1424; text-decoration: none; line-height: 1; }
.h365-logo .tile { background: #2347E0; color: #FFFFFF; border-radius: 7px; padding: 3px 7px 4px; font-weight: 700; }
.h365-logo:hover { color: #0B1424; }
.h365-logo.is-inverse { color: #FFFFFF; }
.h365-logo.is-inverse .tile { background: #FFFFFF; color: #0B1424; }

/* Eyebrow labels */
.is-style-eyebrow { font-size: 0.875rem !important; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #2347E0; }
.has-midnight-background-color .is-style-eyebrow { color: #93A8FF; }

/* Cards */
.h365-card { border: 1px solid #E2E8F0; border-radius: 16px; background: #FFFFFF; }
.has-midnight-background-color .h365-card { background: #131F36; border-color: #1E2D4A; }

/* Secondary (outline) button */
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: #0B1424; border: 1px solid #CBD5E1; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: #0B1424; }

/* Small pill link for the VPN store */
.h365-pill a { font-size: 0.8125rem; color: #64748B; border: 1px solid #E2E8F0; border-radius: 999px; padding: 4px 10px; }

/* Header nav */
.h365-header .wp-block-navigation a { color: #334155; font-weight: 500; }
.h365-header .wp-block-navigation a:hover { color: #0B1424; }
.h365-header { border-bottom: 1px solid #E2E8F0; }

/* Footer links */
.h365-footer a { color: #94A3B8; }
.h365-footer a:hover { color: #FFFFFF; }

/* Accessible focus */
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid #2347E0; outline-offset: 2px; }

/* Headings never break mid-word */
h1, h2, h3, h4, .wp-block-heading { overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; }
.h365-card h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }

/* Product screenshots: framed like a browser window */
figure.h365-shot { position: relative; margin: 0; padding-top: 28px; border-radius: 16px; overflow: hidden;
	background: #F1F5F9; border: 1px solid #E2E8F0; box-shadow: 0 1px 2px rgba(11,20,36,.04), 0 24px 48px -20px rgba(11,20,36,.28); }
figure.h365-shot::before { content: ""; position: absolute; top: 10px; left: 14px; width: 44px; height: 8px;
	background: radial-gradient(circle at 4px 4px, #CBD5E1 4px, transparent 4.5px) 0 0 / 18px 8px repeat-x; }
figure.h365-shot img { display: block; width: 100%; height: auto; border-radius: 0; border: 0; border-top: 1px solid #E2E8F0; }
.has-midnight-background-color figure.h365-shot { background: #1A2742; border-color: #26365A; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.has-midnight-background-color figure.h365-shot::before { background-image: radial-gradient(circle at 4px 4px, #3B4D73 4px, transparent 4.5px); }
.has-midnight-background-color figure.h365-shot img { border-top-color: #26365A; }
/* Thumbnails in grids and cards: consistent size, cropped from the top */
.is-layout-grid > figure.h365-shot img, .h365-card figure.h365-shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.h365-card figure.h365-shot { box-shadow: none; border-radius: 12px; padding-top: 22px; }
.h365-card figure.h365-shot::before { top: 8px; left: 11px; transform: scale(.8); transform-origin: left top; }
/* Lead images sit slightly larger with gentle hover lift */
.wp-block-column figure.h365-shot { transition: transform .3s ease, box-shadow .3s ease; }
.wp-block-column figure.h365-shot:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .wp-block-column figure.h365-shot { transition: none; } .wp-block-column figure.h365-shot:hover { transform: none; } }

/* Contact Form 7 — match the site */
.wpcf7 form > p, .wpcf7 form .wpcf7-form > p { margin: 0 0 1.1rem; }
.wpcf7 br { display: none; }
.wpcf7 label { display: block; font-size: 0.875rem; font-weight: 600; color: #334155; line-height: 1.4; }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 0.4rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"],
.wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; line-height: 1.5; color: #0B1424;
	padding: 0.8rem 1rem; background: #FFFFFF; border: 1px solid #CBD5E1; border-radius: 10px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.wpcf7 textarea { min-height: 9rem; resize: vertical; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #94A3B8; font-family: inherit; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: #2347E0; box-shadow: 0 0 0 3px rgba(35, 71, 224, 0.15); }
.wpcf7 input[type="submit"], .wpcf7 .wpcf7-submit {
	appearance: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 0.9375rem; color: #FFFFFF;
	background: #2347E0; border: 0; border-radius: 10px; padding: 0.85rem 1.6rem; min-height: 48px; margin-top: 0.4rem;
	transition: background .15s ease;
}
.wpcf7 input[type="submit"]:hover, .wpcf7 .wpcf7-submit:hover { background: #1A35AD; }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }
.wpcf7 .wpcf7-not-valid { border-color: #B91C1C; }
.wpcf7 .wpcf7-not-valid-tip { font-size: 0.8125rem; color: #B91C1C; margin-top: 0.35rem; }
.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.9375rem; }

/* Pricing cards */
.h365-price { font-family: 'Space Grotesk', sans-serif; font-size: 2.75rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin: 0.25rem 0 0; color: #0B1424; }
.h365-price small { font-size: 1rem; font-weight: 500; color: #64748B; letter-spacing: 0; }
.h365-card.is-featured { border: 2px solid #2347E0; box-shadow: 0 24px 48px -24px rgba(35, 71, 224, 0.45); position: relative; }
.h365-badge { display: inline-block; font-size: 0.75rem !important; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #FFFFFF; background: #2347E0; border-radius: 999px; padding: 0.3rem 0.7rem; margin: 0 !important; }
.h365-card .wp-block-buttons { margin-top: auto; }
.h365-card .wp-block-button, .h365-card .wp-block-button__link { width: 100%; text-align: center; }
.h365-ticks { list-style: none; padding-left: 0 !important; }
.h365-ticks li { position: relative; padding-left: 1.6rem; margin: 0.35rem 0; }
.h365-ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 1rem; height: 0.55rem; border-left: 2px solid #2347E0; border-bottom: 2px solid #2347E0; transform: rotate(-45deg); }

/* App download chips */
.h365-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.h365-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid #CBD5E1; border-radius: 999px; color: #0B1424; background: #FFFFFF; font-weight: 600; font-size: 0.9375rem; }
.h365-chips a:hover { border-color: #2347E0; color: #2347E0; }

/* Tables (server list) */
.h365-table { overflow-x: auto; }
.h365-table table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: #FFFFFF; }
.h365-table th { text-align: left; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; color: #64748B; padding: 0.75rem 1rem; border-bottom: 2px solid #E2E8F0; position: sticky; top: 0; background: #FFFFFF; }
.h365-table td { padding: 0.7rem 1rem; border-bottom: 1px solid #F1F5F9; }
.h365-table tr:hover td { background: #F8FAFC; }
.h365-table td:nth-child(3) { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem; }
.h365-table td:nth-child(4) { color: #166534; font-weight: 600; }

/* Mobile header: keep it to one row (WooCommerce adds account + cart icons) */
@media (max-width: 640px) {
	.h365-header .wp-block-buttons { display: none; }
	.h365-header .h365-logo { font-size: 1.35rem; }
}

/* Home hero artwork: product collage blended in with a soft glow */
.h365-hero { overflow: hidden; }
.h365-hero-art { position: relative; padding: 1.5rem 0 4.5rem 2.5rem; isolation: isolate; }
.h365-hero-art::before { content: ""; position: absolute; z-index: -1; inset: -15% -25% -10% -5%;
	background:
		radial-gradient(closest-side at 60% 45%, rgba(35, 71, 224, 0.20), transparent 75%),
		radial-gradient(closest-side at 25% 85%, rgba(125, 151, 255, 0.28), transparent 70%),
		radial-gradient(closest-side at 90% 10%, rgba(15, 118, 110, 0.10), transparent 70%);
	filter: blur(24px); }
.h365-hero-art figure.h365-shot.is-main { margin: 0; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.h365-hero-art figure.h365-shot.is-inset { position: absolute; left: 0; bottom: 0; width: 46%; margin: 0;
	box-shadow: 0 2px 4px rgba(11,20,36,.06), 0 30px 60px -18px rgba(11,20,36,.45); }
.h365-hero-art figure.h365-shot.is-inset img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }
@media (max-width: 781px) {
	.h365-hero-art { padding: 0.5rem 0 3rem 1.25rem; margin-top: 1rem; }
	.h365-hero-art figure.h365-shot.is-main { transform: none; }
	.h365-hero-art figure.h365-shot.is-inset { width: 44%; }
}
@media (prefers-reduced-motion: reduce) { .h365-hero-art figure.h365-shot.is-main { transform: none; } }
