/* SLBD shared components used across the PHP template hierarchy. */
.slbd-site-header {
    background: var(--wp--preset--color--paper-white, #FFFEFA);
    border-bottom: 1px solid var(--wp--custom--slbd--color--divider, #DCE0D7);
}

.slbd-site-brand__text {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
}

.slbd-site-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.slbd-site-brand .custom-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.slbd-site-brand__name {
    color: var(--wp--preset--color--rainforest, #173C32);
    font-family: var(--wp--preset--font-family--display, "EB Garamond", "Noto Serif Sinhala", Georgia, serif);
}

.slbd-site-brand__tagline {
    color: var(--wp--preset--color--rainforest, #173C32);
}

.slbd-site-footer {
    background: var(--wp--preset--color--deep-emerald, #102C25);
    color: var(--wp--preset--color--warm-ivory, #F7F4EB);
}

.slbd-skip-link {
    position: absolute;
    z-index: 100000;
    top: 0.5rem;
    left: -9999px;
    padding: 0.75rem 1rem;
    background: var(--wp--preset--color--warm-ivory, #F7F4EB);
    color: var(--wp--preset--color--deep-emerald, #102C25);
    border: 2px solid currentColor;
}

.slbd-skip-link:focus {
    left: 0.5rem;
}

.slbd-entry__featured-media {
    margin-block: var(--slbd-grid-gap, 16px);
}

.slbd-entry__featured-image {
    display: block;
    width: 100%;
    height: auto;
}

.slbd-entry__content > :first-child {
    margin-block-start: 0;
}

.slbd-entry__content > :last-child {
    margin-block-end: 0;
}
