/* Critical layout reservations loaded first in the generated theme head. */
.boost-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
}

.wp-block-post-featured-image {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.wp-block-post-featured-image :where(a, picture) {
    display: block;
    width: 100%;
    height: 100%;
}

.wp-block-post-featured-image :where(img) {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boost-post-hero {
    min-height: 300px;
}

/* Header wrapper state previously emitted through local style attributes. */
.boost-site-header--sticky {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.boost-site-header--floating-padding-sm {
    padding: 8px 8px 0;
}

.boost-site-header--floating-padding-md {
    padding: 12px 12px 0;
}

.boost-site-header--floating-padding-lg {
    padding: 20px 20px 0;
}

.boost-main-content-anchor {
    position: relative;
}

/* Template post-content typography presets. */
.boost-content--editorial .entry-content :where(p, li) {
    margin-bottom: 1.5em;
    font-size: 1.05rem;
    line-height: 1.85;
}

.boost-content--compact .entry-content :where(p, li) {
    margin-bottom: 1em;
    line-height: 1.6;
}

.boost-content--spacious .entry-content :where(p, li) {
    margin-bottom: 2em;
    font-size: 1.08rem;
    line-height: 2;
}

/* Template separators use static classes; per-instance spacing remains in the
 * standard WordPress block style attributes. */
.boost-template-separator {
    display: block;
    width: 100%;
    height: 0;
    margin-right: auto;
    margin-left: auto;
    border: 0;
    border-top: 1px solid var(--boost-border, #e2e8f0);
}

.boost-template-separator--dashed {
    border-top-width: 2px;
    border-top-style: dashed;
}

.boost-template-separator--gradient {
    height: 1px;
    border-top: 0;
    background: linear-gradient(
        90deg,
        transparent,
        var(--boost-border, #e2e8f0) 20%,
        var(--boost-border, #e2e8f0) 80%,
        transparent
    );
}

.boost-template-separator--dots {
    margin-right: auto;
    margin-left: auto;
    color: var(--boost-text-muted, #94a3b8);
    text-align: center;
    letter-spacing: 0.5em;
}

.boost-template-separator--w-10 {
    max-width: 10%;
}

.boost-template-separator--w-11 {
    max-width: 11%;
}

.boost-template-separator--w-12 {
    max-width: 12%;
}

.boost-template-separator--w-13 {
    max-width: 13%;
}

.boost-template-separator--w-14 {
    max-width: 14%;
}

.boost-template-separator--w-15 {
    max-width: 15%;
}

.boost-template-separator--w-16 {
    max-width: 16%;
}

.boost-template-separator--w-17 {
    max-width: 17%;
}

.boost-template-separator--w-18 {
    max-width: 18%;
}

.boost-template-separator--w-19 {
    max-width: 19%;
}

.boost-template-separator--w-20 {
    max-width: 20%;
}

.boost-template-separator--w-21 {
    max-width: 21%;
}

.boost-template-separator--w-22 {
    max-width: 22%;
}

.boost-template-separator--w-23 {
    max-width: 23%;
}

.boost-template-separator--w-24 {
    max-width: 24%;
}

.boost-template-separator--w-25 {
    max-width: 25%;
}

.boost-template-separator--w-26 {
    max-width: 26%;
}

.boost-template-separator--w-27 {
    max-width: 27%;
}

.boost-template-separator--w-28 {
    max-width: 28%;
}

.boost-template-separator--w-29 {
    max-width: 29%;
}

.boost-template-separator--w-30 {
    max-width: 30%;
}

.boost-template-separator--w-31 {
    max-width: 31%;
}

.boost-template-separator--w-32 {
    max-width: 32%;
}

.boost-template-separator--w-33 {
    max-width: 33%;
}

.boost-template-separator--w-34 {
    max-width: 34%;
}

.boost-template-separator--w-35 {
    max-width: 35%;
}

.boost-template-separator--w-36 {
    max-width: 36%;
}

.boost-template-separator--w-37 {
    max-width: 37%;
}

.boost-template-separator--w-38 {
    max-width: 38%;
}

.boost-template-separator--w-39 {
    max-width: 39%;
}

.boost-template-separator--w-40 {
    max-width: 40%;
}

.boost-template-separator--w-41 {
    max-width: 41%;
}

.boost-template-separator--w-42 {
    max-width: 42%;
}

.boost-template-separator--w-43 {
    max-width: 43%;
}

.boost-template-separator--w-44 {
    max-width: 44%;
}

.boost-template-separator--w-45 {
    max-width: 45%;
}

.boost-template-separator--w-46 {
    max-width: 46%;
}

.boost-template-separator--w-47 {
    max-width: 47%;
}

.boost-template-separator--w-48 {
    max-width: 48%;
}

.boost-template-separator--w-49 {
    max-width: 49%;
}

.boost-template-separator--w-50 {
    max-width: 50%;
}

.boost-template-separator--w-51 {
    max-width: 51%;
}

.boost-template-separator--w-52 {
    max-width: 52%;
}

.boost-template-separator--w-53 {
    max-width: 53%;
}

.boost-template-separator--w-54 {
    max-width: 54%;
}

.boost-template-separator--w-55 {
    max-width: 55%;
}

.boost-template-separator--w-56 {
    max-width: 56%;
}

.boost-template-separator--w-57 {
    max-width: 57%;
}

.boost-template-separator--w-58 {
    max-width: 58%;
}

.boost-template-separator--w-59 {
    max-width: 59%;
}

.boost-template-separator--w-60 {
    max-width: 60%;
}

.boost-template-separator--w-61 {
    max-width: 61%;
}

.boost-template-separator--w-62 {
    max-width: 62%;
}

.boost-template-separator--w-63 {
    max-width: 63%;
}

.boost-template-separator--w-64 {
    max-width: 64%;
}

.boost-template-separator--w-65 {
    max-width: 65%;
}

.boost-template-separator--w-66 {
    max-width: 66%;
}

.boost-template-separator--w-67 {
    max-width: 67%;
}

.boost-template-separator--w-68 {
    max-width: 68%;
}

.boost-template-separator--w-69 {
    max-width: 69%;
}

.boost-template-separator--w-70 {
    max-width: 70%;
}

.boost-template-separator--w-71 {
    max-width: 71%;
}

.boost-template-separator--w-72 {
    max-width: 72%;
}

.boost-template-separator--w-73 {
    max-width: 73%;
}

.boost-template-separator--w-74 {
    max-width: 74%;
}

.boost-template-separator--w-75 {
    max-width: 75%;
}

.boost-template-separator--w-76 {
    max-width: 76%;
}

.boost-template-separator--w-77 {
    max-width: 77%;
}

.boost-template-separator--w-78 {
    max-width: 78%;
}

.boost-template-separator--w-79 {
    max-width: 79%;
}

.boost-template-separator--w-80 {
    max-width: 80%;
}

.boost-template-separator--w-81 {
    max-width: 81%;
}

.boost-template-separator--w-82 {
    max-width: 82%;
}

.boost-template-separator--w-83 {
    max-width: 83%;
}

.boost-template-separator--w-84 {
    max-width: 84%;
}

.boost-template-separator--w-85 {
    max-width: 85%;
}

.boost-template-separator--w-86 {
    max-width: 86%;
}

.boost-template-separator--w-87 {
    max-width: 87%;
}

.boost-template-separator--w-88 {
    max-width: 88%;
}

.boost-template-separator--w-89 {
    max-width: 89%;
}

.boost-template-separator--w-90 {
    max-width: 90%;
}

.boost-template-separator--w-91 {
    max-width: 91%;
}

.boost-template-separator--w-92 {
    max-width: 92%;
}

.boost-template-separator--w-93 {
    max-width: 93%;
}

.boost-template-separator--w-94 {
    max-width: 94%;
}

.boost-template-separator--w-95 {
    max-width: 95%;
}

.boost-template-separator--w-96 {
    max-width: 96%;
}

.boost-template-separator--w-97 {
    max-width: 97%;
}

.boost-template-separator--w-98 {
    max-width: 98%;
}

.boost-template-separator--w-99 {
    max-width: 99%;
}

.boost-template-separator--w-100 {
    max-width: 100%;
}

/* Static presentation for template content shortcodes. */
.boost-template-search .boost-search-form__wrapper {
    display: flex;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--boost-border, #e2e8f0);
    border-radius: 0.5rem;
    background: var(--boost-bg, #fff);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.boost-template-search .boost-search-form__wrapper:focus-within {
    border-color: var(--boost-primary, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.boost-template-search .boost-search-form__input {
    flex: 1;
    padding: 0.6rem 0 0.6rem 0.75rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--boost-text, #1e293b);
    font-size: 0.9rem;
}

.boost-template-search .boost-search-form__input::placeholder {
    color: var(--boost-text-muted, #94a3b8);
}

.boost-template-search .boost-search-form__icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.75rem;
    border: 0;
    background: transparent;
    color: var(--boost-text-muted, #64748b);
    cursor: pointer;
    transition: color 0.2s;
}

.boost-template-search .boost-search-form__icon-btn:hover {
    color: var(--boost-primary, #3b82f6);
}

.boost-template-search .boost-search-form__icon-btn svg {
    width: 18px;
    height: 18px;
}

.boost-meta-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 0.25rem;
    opacity: 0.7;
}
