/*
Theme Name: AllContactCenter
Theme URI: https://allcontactcenter.com
Author: Joe Garcia, Ed.D.
Description: Block theme for allcontactcenter.com, a plain-language, vendor-neutral resource on choosing and running a contact center. Includes homepage, section hub, guide, and download layouts in the brand colors.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: allcontactcenter
Tags: blog, education, block-patterns, full-site-editing, wide-blocks
*/

/* Small touches theme.json cannot express */

.acc-card {
	transition: border-color .15s ease, transform .15s ease;
}
.acc-card:hover {
	border-color: var(--wp--preset--color--blue) !important;
	transform: translateY(-2px);
}

.acc-eyebrow {
	letter-spacing: .08em;
	text-transform: uppercase;
}

.acc-takeaway {
	border-left: 4px solid var(--wp--preset--color--teal);
}

.wp-block-post-title a,
.wp-block-post-title a:hover {
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
.wp-element-button:focus-visible {
	outline: 3px solid var(--wp--preset--color--teal);
	outline-offset: 2px;
}

.acc-footer a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}
.acc-footer a:hover {
	text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
	.acc-card { transition: none; }
	.acc-card:hover { transform: none; }
}

.acc-plain-list {
	list-style: none;
	padding-left: 0;
	line-height: 2;
}

.acc-footer .acc-footer-rule {
	border-color: #3A4659;
	color: #3A4659;
	opacity: 1;
}

/* Cards used in the path picker and section hubs */
.acc-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	padding: 1.5rem;
	height: 100%;
}
.acc-card .wp-block-heading { margin-top: 0; }
.acc-card a { text-decoration: none; font-weight: 700; }

/* Boxes inside guides */
.acc-takeaway,
.acc-author,
.acc-cta {
	border-radius: 10px;
	padding: 1.5rem;
}
.acc-author {
	border: 1px solid var(--wp--preset--color--line);
}
.acc-cta {
	background: var(--wp--preset--gradient--brand);
	color: var(--wp--preset--color--white);
}
.acc-cta .wp-block-heading,
.acc-cta p { color: var(--wp--preset--color--white); }
.acc-cta .wp-block-button__link {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--deep-blue);
}
.acc-cta .wp-block-button__link:hover {
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--navy);
}

/* Post cards in query loops */
.acc-post-card {
	border-top: 3px solid var(--wp--preset--color--blue);
	padding-top: 1rem;
}

/* Header: full logo on wide screens, icon on phones */
.acc-header {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-top: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--30);
}
.acc-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.acc-brand img { display: block; height: auto; }
.acc-brand-full { width: 230px; }
.acc-brand-icon { display: none !important; width: 44px; }
@media (max-width: 600px) {
	.acc-brand-full { display: none !important; }
	.acc-brand-icon { display: block !important; }
}

/* Header dropdown (Topics) */
.acc-header .wp-block-navigation__submenu-container {
	min-width: 220px !important;
	padding: .5rem 0 !important;
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(34, 45, 62, .12);
}
.acc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: .55rem 1.1rem !important;
}
.acc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--blue);
}
.acc-header .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child {
	border-top: 1px solid var(--wp--preset--color--line);
	margin-top: .35rem;
	padding-top: .35rem;
}

/* Break Room comic grid */
.acc-comics .wp-block-post-featured-image img {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	background: var(--wp--preset--color--white);
	transition: transform .15s ease;
}
.acc-comics .wp-block-post-featured-image a:hover img { transform: translateY(-3px); }
.acc-comics .wp-block-post-title { margin-top: .6rem; }
.acc-comics .wp-block-post-title a { text-decoration: none; }
