/*
Theme Name: Terelyst Studio
Theme URI: https://example.com/terelyst-studio
Author: Terelyst Studio
Description: A lightweight, editable block theme for the Terelyst Studio editorial site and Customer Library.
Version: 0.1.1
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: terelyst-studio
*/

:root { --terelyst-focus: #6f5a88; }
.wp-site-blocks { overflow: clip; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: #fffdf9; color: #27232a; }
.skip-link:focus { top: 1rem; }
.terelyst-announcement { letter-spacing: .13em; }
.terelyst-rule { display: flex; align-items: center; gap: .7rem; color: var(--wp--preset--color--lavender-deep); }
.terelyst-rule::before, .terelyst-rule::after { content: ""; display: block; height: 1px; flex: 1; background: currentColor; opacity: .42; }
.terelyst-card, .terelyst-resource-card { height: 100%; border: 1px solid var(--wp--preset--color--line); box-shadow: 0 8px 24px rgb(49 42 53 / 4%); }
.terelyst-card .wp-block-image img, .terelyst-resource-card .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.terelyst-resource-card { display: flex; flex-direction: column; }
.terelyst-resource-card > .wp-block-group:last-child { margin-top: auto; }
.terelyst-library-shell { background: var(--wp--preset--color--ivory); }
.terelyst-hero { position: relative; overflow: hidden; }
.terelyst-hero-art { position: relative; min-height: 300px; display: grid; place-items: center; background: #efe5f1; border: 1px solid var(--wp--preset--color--line); }
.terelyst-hero-art::before, .terelyst-hero-art::after { content: "✦"; position: absolute; color: var(--wp--preset--color--lavender-deep); font-size: 2rem; opacity: .7; }
.terelyst-hero-art::before { left: 12%; top: 15%; }
.terelyst-hero-art::after { right: 13%; bottom: 14%; font-size: 3rem; }
.terelyst-library-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.terelyst-footer-links a { text-decoration: none; }
.terelyst-footer-links a:hover { text-decoration: underline; }
.wp-block-navigation .wp-block-navigation-item__content:focus-visible,
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--terelyst-focus); outline-offset: 3px; }
.wp-block-button__link { transition: transform .2s ease, background-color .2s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (max-width: 781px) { .terelyst-mobile-center { text-align: center; } .terelyst-mobile-center .wp-block-buttons { justify-content: center; } }
