/**
Theme Name: AWD Child
Theme URI: https://austinwebanddesign.com/
Author: Austin Web & Design
Author URI: https://austinwebanddesign.com/
Description: A lean Astra child theme for Austin Web & Design client websites.
Version: 2.2.9
Requires at least: 6.4
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: awd-child
Template: astra
*/

/* header */
#ast-desktop-header li.menu-btn a.menu-link { background: white; color: #000; border-radius: 40px; line-height: 1; }

/* typography */
h1, .entry-content h1, h1.wp-block-spectra-content { letter-spacing: -0.02em; }
h2, .entry-content h2, h2.wp-block-spectra-content { letter-spacing: -0.01em; }

/* buttons */
@media (min-width:977px) {
	a.wp-block-button__link { min-width: 270px; }
}

/* lists */
ul[class*="-column-list"], ol[class*="-column-list"] { margin: 0; padding-left: 0; column-gap: 2rem; list-style-position: outside; }
ul[class*="-column-list"] li, ol[class*="-column-list"] li { margin-bottom: .5em; break-inside: avoid; }
ul.wp-block-list.two-column-list ul.wp-block-list, ul[class*="-column-list"] ul[class*="-column-list"] { margin-top: .625rem; padding-left: 1.25rem; column-gap: .5em; }
@media (min-width:641px) {
	.two-column-list { column-count: 2; }
	.three-column-list { column-count: 3; }
	.four-column-list { column-count: 4; }
	.five-column-list { column-count: 5; }
}
.site-footer p:empty { display: none; }

/* single posts */
body.single .entry-content h2, body.single .entry-content h3, body.single .entry-content h4, body.single .entry-content h5, body.single .entry-content h6 { margin-top: 30px; margin-bottom: 0.6em; font-weight: 600; letter-spacing: -0.015em; }
body.single .entry-content h2 { font-size: 38px; }
body.single .entry-content h3 { font-size: 32px; }
body.single .entry-content h4 { font-size: 28px; }
body.single .entry-content h5 { font-size: 20px; }
body.single .entry-content h6 { font-size: 17px; }
body.single .entry-content ul.wp-block-list { padding-left: 25px; margin-bottom: 30px; }
body.single .entry-content .wp-block-embed { margin: 35px 0; }
body.single .entry-content > h2:first-child { margin-top: 0; }

/* Deep Blue homepage story carousel — Landing page v1 */
.home .awd-story-carousel { --awd-carousel-accent: #1fb3d2; --awd-carousel-ink: #101c29; position: relative; width: 100%; max-width: 744px; margin-inline: auto; }
.home .awd-story-carousel .awd-content-carousel__viewport { overflow-x: auto; overflow-y: hidden; border-radius: 16px; background: #fff; isolation: isolate; }
.home .awd-story-carousel .awd-content-carousel__track { background: #fff; }
.home .awd-story-carousel__slide { position: relative; display: grid; grid-template-columns: 308px minmax(0, 1fr); align-items: center; column-gap: 55px; min-height: 336px; padding: 36px 44px 64px 67px; border-radius: 0; background: #fff; }
.home .awd-story-carousel__media { width: 308px; height: 186px; overflow: hidden; border-radius: 12px; }
.home .awd-story-carousel__media img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.home .awd-story-carousel__content { display: flex; min-width: 0; padding: 0 0 30px; justify-content: center; align-items: flex-start; }
.home .awd-story-carousel__content h3 { display: -webkit-box; margin: 0 0 16px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: #101c29; font-family: "Inter Tight", sans-serif; font-size: 36px; font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
.home .awd-story-carousel__excerpt { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: rgba(16, 28, 41, .7); font-size: 18px; font-weight: 500; line-height: 1.33; }
.home .awd-story-carousel__excerpt p { margin: 0; }

/* Keep the entire slide linked without adding a visual CTA absent from Figma. */
.home .awd-story-carousel__button { position: absolute; inset: 0; z-index: 1; padding: 0; border-radius: 0; opacity: 0; }
.home .awd-story-carousel__button:focus-visible { opacity: 1; background: transparent; outline: 3px solid #101c29; outline-offset: -6px; color: transparent; }
.home .awd-story-carousel .awd-content-carousel__controls { position: absolute; right: 32px; bottom: 20px; z-index: 3; display: flex; gap: 20px; margin: 0; }
.home .awd-story-carousel .awd-content-carousel__controls button { position: relative; display: block; width: 33px; height: 33px; padding: 0; border: 0; border-radius: 50%; background: #1fb3d2; color: transparent; font-size: 0; }
.home .awd-story-carousel .awd-content-carousel__controls button::before { position: absolute; top: 10px; left: 8px; width: 13px; height: 13px; border-top: 3px solid #fff; border-right: 3px solid #fff; content: ""; transform: rotate(45deg); }
.home .awd-story-carousel .awd-content-carousel__controls .awd-content-carousel__previous::before { left: 13px; transform: rotate(-135deg); }
@media (min-width:768px) and (max-width:1100px) {
	.home .awd-story-carousel__slide { grid-template-columns: 42% minmax(0, 1fr); column-gap: 32px; padding: 48px; }
	.home .awd-story-carousel__media { width: 100%; }
	.home .awd-story-carousel__content h3 { font-size: 32px; }
}
@media (max-width:767px) {
	.home .awd-story-carousel { max-width: 100%; }
	.home .awd-story-carousel__slide { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 24px 24px 72px; }
	.home .awd-story-carousel__media { width: 100%; height: auto; aspect-ratio: 16 / 10; }
	.home .awd-story-carousel__content { padding: 0; }
	.home .awd-story-carousel__content h3 { font-size: 30px; line-height: 1.12; }
	.home .awd-story-carousel .awd-content-carousel__controls { right: 24px; bottom: 24px; }
}

/* Deep Blue event carousel — centered conference cards */
.awd-event-carousel[data-center-mode="true"] { --awd-carousel-slide-width: min(1140px, calc(100vw - 48px)); overflow: visible; }
.awd-event-carousel[data-center-mode="true"] .awd-content-carousel__viewport { overflow-x: auto; overflow-y: hidden; }
.awd-event-carousel[data-center-mode="true"] .awd-content-carousel__track { gap: 18px; }
.awd-event-carousel[data-center-mode="true"] .awd-event-carousel__slide { min-height: 400px; transform: scale(.78); border-radius: 16px; background-repeat: no-repeat; }
.awd-event-carousel[data-center-mode="true"] .awd-event-carousel__slide.is-active { transform: scale(1); }
.awd-event-carousel .awd-event-carousel__slide[data-slide-theme="1"]::after { position: absolute; inset: 0; bottom: -5px; z-index: 0; background-image: url("/wp-content/uploads/2026/08/deep-blue-cut-out.png"); background-position: right center; background-size: contain; background-repeat: no-repeat; content: ""; pointer-events: none; }
.awd-event-carousel .awd-event-carousel__slide[data-slide-theme="1"] { position: relative; isolation: isolate; background: radial-gradient(80.03% 194.31% at 36.58% 19.97%, #50cfe9 0%, #009cbc 100%); }
.awd-event-carousel .awd-event-carousel__slide[data-slide-theme="1"]
.awd-event-carousel__content { position: relative; z-index: 1; }
.awd-event-carousel .awd-event-carousel__slide[data-slide-theme="2"] { background-color: #fff; }
.awd-event-carousel .awd-event-carousel__slide[data-slide-theme="2"] .awd-event-carousel__content { color: #101c29; }
.awd-event-carousel .awd-event-carousel__slide[data-slide-theme="3"] { background-color: #101c29; }
.awd-event-carousel[data-show-featured-image="false"] .awd-event-carousel__content { max-width: 70%; padding: 56px; }
.awd-event-carousel[data-show-featured-image="false"] .awd-event-carousel__slide:not([data-slide-theme="1"]) .awd-event-carousel__content { width: 100%; max-width: 100%; }
.awd-event-carousel[data-show-featured-image="false"] .awd-event-carousel__slide[data-slide-theme="1"] .awd-event-carousel__content { position: relative; z-index: 1; }
.awd-event-carousel[data-center-mode="true"] .awd-event-carousel__slide.is-active h3 {
    font-size: 48px;
    line-height: 1;
}
.awd-event-carousel.awd-content-carousel a.awd-event-carousel__button {
    min-width: 236px;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    padding: 17px 30px;
}
@media (max-width:767px) {
	.awd-event-carousel[data-center-mode="true"] { --awd-carousel-slide-width: 88%; }
	.awd-event-carousel[data-center-mode="true"] .awd-event-carousel__slide { min-height: 360px; transform: scale(.92); }
	.awd-event-carousel[data-show-featured-image="false"] .awd-event-carousel__content { max-width: none; padding: 32px; }
}
