/*
Theme Name: Boom Blog
Theme URI: https://weblish.dev
Author: Weblish
Author URI: https://weblish.dev
Description: Boom is a modern blogging theme perfect for news, magazine, technology, personal or any other awesome blog website. A clean and elegant design with powerful features for showcasing your content.
Version: 1779201371
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boom-blog
Tags: blog, news, magazine, one-column, two-columns, custom-menu, featured-images, translation-ready

Boom Blog WordPress Theme
Copyright (C) 2024 Weblish
*/

:root {
    --wl-primary: #1d4ed8;
    --wl-primary-hover: #1e40af;
    --wl-secondary: #0f172a;
    --wl-secondary-hover: #020617;
    --wl-accent: #f59e0b;
    --wl-accent-hover: #d97706;
    --wl-surface: #ffffff;
    --wl-background: #f8fafc;
    --wl-text: #0f172a;
    --wl-muted-text: #64748b;
    --wl-border: #e2e8f0;
    --wl-pill-bg: #dbeafe;
    --wl-pill-text: #1e40af;
    --wl-highlight-bg: #eff6ff;
    --wl-highlight-text: #1d4ed8;
    --wl-focus-ring: color-mix(in srgb, var(--wl-primary) 35%, transparent);
    --weblish-sticky-offset: 96px;
}

body {
    background-color: var(--wl-background);
    color: var(--wl-text);
}

a {
    color: var(--wl-primary);
}

a:hover,
a:focus {
    color: var(--wl-primary-hover);
}

::selection {
    background: var(--wl-highlight-bg);
    color: var(--wl-highlight-text);
}

.w-button,
.button,
button,
input[type="submit"] {
    background-color: var(--wl-primary);
    border-color: var(--wl-primary);
    color: var(--wl-surface);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.w-button:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
    background-color: var(--wl-primary-hover);
    border-color: var(--wl-primary-hover);
    color: var(--wl-surface);
}

input:focus,
textarea:focus,
select:focus,
.w-input:focus,
.w-select:focus,
.w-button:focus-visible,
a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--wl-focus-ring);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--wl-surface);
    border-radius: 3px;
    box-shadow: 0 0 0 2px var(--wl-focus-ring);
    clip: auto !important;
    clip-path: none;
    color: var(--wl-primary);
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: .8075em 0;
    font-size: 14px;
    color: var(--wl-muted-text);
}

.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption,
.sticky,
.bypostauthor {
    display: block;
}

.post-navigation,
.posts-navigation {
    margin: 2em 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.wp-block-button__link {
    background-color: var(--wl-primary);
    color: var(--wl-surface);
    padding: 12px 24px;
    text-decoration: none;
    display: inline-block;
}

.wp-block-button__link:hover {
    background-color: var(--wl-primary-hover);
    color: var(--wl-surface);
}

body.admin-bar .navigation-top-part {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navigation-top-part {
        margin-top: 46px;
    }
}

.navigation {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.navigation-center-part {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.navigation-center-part .custom-logo-link,
.navigation-center-part .logo-link {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 200px;
    padding-left: 0;
    width: 100%;
}

.navigation-center-part .custom-logo,
.navigation-center-part .logo-link img {
    height: 90px;
    max-width: 200px;
    object-fit: contain;
    width: auto;
    width: 100%;
}

.menu-button.w-nav-button {
    color: var(--wl-text);
}

.pillars-nav-shell {
    border-top: 1px solid color-mix(in srgb, var(--wl-border) 88%, transparent);
    padding: 12px 0;
}

.pillars-nav {
    display: flex;
    justify-content: center;
}

.pillars-nav-track {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px 4px;
    scrollbar-width: thin;
}

.pillars-nav-link {
    align-items: center;
    background: color-mix(in srgb, var(--wl-background) 80%, var(--wl-surface));
    border: 1px solid var(--wl-border);
    border-radius: 999px;
    color: var(--wl-muted-text);
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    padding: 6px 12px;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}

.pillars-nav-link:hover,
.pillars-nav-link:focus-visible {
    border-color: color-mix(in srgb, var(--wl-primary) 30%, var(--wl-border));
    color: var(--wl-primary);
}

.pillars-nav-link.is-current {
    background: var(--wl-pill-bg);
    border-color: color-mix(in srgb, var(--wl-pill-text) 25%, var(--wl-pill-bg));
    color: var(--wl-pill-text);
}

.home-latest-header {
    margin-bottom: 20px;
}

.home-latest-title {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.home-latest-subtitle {
    color: var(--wl-muted-text);
    font-size: 16px;
    margin: 0;
}

.featured-story-link {
    cursor: pointer;
    display: block;
}

.featured-story-image {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

.featured-story-title,
.featured-story-excerpt,
.featured-story-cta-wrap {
    text-align: center;
}

.home-empty-posts {
    text-align: center;
    padding: 40px;
}

.contact-info-panel {
    padding-right: 20px;
}

.contact-social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-section {
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-section .margin-25px {
    width: 100%;
}

.contact-form-header {
    margin-bottom: 10px;
}

.contact-form-title {
    margin-bottom: 10px;
}

.contact-form-subhead {
    max-width: 620px;
    margin: 0 auto;
}

.contact-form-card {
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    border-radius: 12px;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--wl-text) 8%, transparent);
    max-width: 600px;
    padding: 30px;
    width: 100%;
}

.subscribe-form,
.subscribe-form._450px,
.subscribe-form._450px.center {
    max-width: 600px;
    width: 100%;
}

.contact-form-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form-grid > * {
    width: 100%;
}

.contact-form-input {
    background-color: var(--wl-surface);
    border-color: var(--wl-border);
    border-radius: 8px;
    color: var(--wl-text);
    font-size: 14px;
    font-weight: 500;
    padding-left: 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form-input:focus {
    border-color: var(--wl-primary);
    box-shadow: 0 0 0 3px var(--wl-focus-ring);
}

.contact-form-textarea {
    min-height: 170px;
    padding-top: 14px;
    padding-bottom: 14px;
    resize: vertical;
}

.contact-submit-button {
    align-self: flex-start;
    border-radius: 8px;
    font-size: 15px;
    justify-self: auto;
    min-height: 52px;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-detail-layout {
    align-items: stretch;
    display: grid;
    gap: clamp(24px, 4vw, 56px);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    overflow: visible;
}

.blog-detail-section,
.blog-detail-section > .container {
    overflow: visible;
}

.blog-detail-content {
    min-width: 0;
}

.blog-detail-header {
    margin-bottom: 24px;
}

.blog-detail-title {
    margin-bottom: 12px;
}

.blog-detail-header-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-detail-featured-image-wrap {
    margin-bottom: 12px;
}

.blog-detail-sidebar {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    overflow: visible;
}

.blog-sidebar-meta {
    background: var(--wl-surface);
    border: 1px solid var(--wl-border);
    border-radius: 20px;
    box-shadow: 0 16px 34px color-mix(in srgb, var(--wl-text) 10%, transparent);
    display: grid;
    gap: 18px;
    padding: 20px;
}

.blog-sidebar-author {
    align-items: flex-start;
    display: flex;
    gap: 14px;
}

.blog-sidebar-author-avatar {
    border: 2px solid color-mix(in srgb, var(--wl-primary) 20%, var(--wl-surface));
    border-radius: 999px;
    height: 64px;
    object-fit: cover;
    width: 64px;
}

.blog-sidebar-author-content {
    display: grid;
    gap: 8px;
}

.blog-sidebar-eyebrow {
    background: var(--wl-pill-bg);
    border-radius: 999px;
    color: var(--wl-pill-text);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    padding: 4px 10px;
    text-transform: uppercase;
}

.blog-sidebar-author-name {
    color: var(--wl-secondary);
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
}

.blog-sidebar-author-bio {
    color: var(--wl-muted-text);
    margin: 0;
}

.blog-sidebar-meta-items {
    border-top: 1px solid var(--wl-border);
    display: grid;
    gap: 14px;
    padding-top: 14px;
}

.blog-sidebar-meta-item {
    display: grid;
    gap: 6px;
}

.blog-sidebar-meta-label {
    color: var(--wl-muted-text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.blog-sidebar-meta-value {
    color: var(--wl-text);
    font-size: 16px;
    font-weight: 600;
}

.blog-sidebar-category-pill {
    align-items: center;
    background: var(--wl-highlight-bg);
    border-radius: 999px;
    color: var(--wl-highlight-text);
    display: inline-flex;
    padding: 6px 12px;
    width: fit-content;
}

.blog-sidebar-sticky {
    align-self: start;
    position: sticky;
    top: var(--weblish-sticky-offset, 96px);
    z-index: 1;
}

.blog-sticky-cta-banner {
    background: linear-gradient(155deg, color-mix(in srgb, var(--wl-primary) 88%, transparent), color-mix(in srgb, var(--wl-secondary) 92%, transparent));
    border: 1px solid color-mix(in srgb, var(--wl-primary) 22%, var(--wl-surface));
    border-radius: 20px;
    box-shadow: 0 20px 34px color-mix(in srgb, var(--wl-secondary) 30%, transparent);
    color: var(--wl-surface);
    min-height: 220px;
    overflow: hidden;
    padding: 22px 20px;
    position: relative;
}

.blog-sticky-cta-banner::before {
    background-image: var(--blog-sticky-cta-image);
    background-position: center;
    background-size: cover;
    content: "";
    inset: 0;
    opacity: .24;
    position: absolute;
}

.blog-sticky-cta-overlay {
    background: radial-gradient(circle at top right, color-mix(in srgb, var(--wl-accent) 40%, transparent), transparent 55%);
    inset: 0;
    position: absolute;
}

.blog-sticky-cta-content {
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.blog-sticky-cta-title {
    color: var(--wl-surface);
    font-size: 24px;
    line-height: 1.15;
    margin: 0;
}

.blog-sticky-cta-description {
    color: color-mix(in srgb, var(--wl-surface) 90%, transparent);
    margin: 0;
}

.blog-sticky-cta-button {
    align-self: start;
    display: inline-flex;
    background: var(--wl-accent);
    border-color: var(--wl-accent);
    color: var(--wl-secondary);
    justify-self: start;
    max-width: 100%;
    width: fit-content;
}

.blog-sticky-cta-button:hover {
    background: var(--wl-accent-hover);
    border-color: var(--wl-accent-hover);
    color: var(--wl-secondary);
}

.blog-end-cta-banner {
    background: linear-gradient(140deg, color-mix(in srgb, var(--wl-secondary) 92%, transparent), color-mix(in srgb, var(--wl-primary) 88%, transparent));
    border: 1px solid color-mix(in srgb, var(--wl-primary) 25%, var(--wl-surface));
    border-radius: 24px;
    margin: 24px 0 12px;
    overflow: hidden;
    padding: clamp(26px, 4vw, 38px);
    position: relative;
}

.blog-end-cta-banner::before {
    background-image: var(--blog-end-cta-image);
    background-position: center;
    background-size: cover;
    content: "";
    inset: 0;
    opacity: .2;
    position: absolute;
}

.blog-end-cta-overlay {
    background: linear-gradient(120deg, color-mix(in srgb, var(--wl-secondary) 68%, transparent), transparent);
    inset: 0;
    position: absolute;
}

.blog-end-cta-inner {
    display: grid;
    gap: 14px;
    max-width: 740px;
    position: relative;
    z-index: 1;
}

.blog-end-cta-title {
    color: var(--wl-surface);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    margin: 0;
}

.blog-end-cta-description {
    color: color-mix(in srgb, var(--wl-surface) 90%, transparent);
    font-size: 18px;
    margin: 0;
}

.blog-end-cta-button {
    align-self: start;
    display: inline-flex;
    background: var(--wl-accent);
    border-color: var(--wl-accent);
    color: var(--wl-surface);
    justify-self: start;
    max-width: 100%;
    width: fit-content;
}

.blog-end-cta-button:hover {
    background: var(--wl-accent-hover);
    border-color: var(--wl-accent-hover);
    color: var(--wl-surface);
}

.blog-detail-back {
    align-self: flex-start;
}

@media screen and (max-width: 991px) {
    .navbar.w-nav {
        align-items: center;
    }

    .nav-menu.w-nav-menu {
        border-radius: 10px;
        box-shadow: 0 14px 30px color-mix(in srgb, var(--wl-text) 12%, transparent);
        overflow: hidden;
        width: 100%;
    }

    .nav-menu.w-nav-menu[data-nav-menu-open],
    .nav-menu.w-nav-menu.is-mobile-open {
        background-color: var(--wl-surface);
        border: 1px solid var(--wl-border);
        display: block !important;
        margin-top: 10px;
        padding: 12px 10px;
    }

    .menu-button.w-nav-button {
        border-radius: 8px;
        padding: 10px 12px;
        transition: background-color .2s ease;
    }

    .menu-button.w-nav-button.w--open {
        background-color: var(--wl-highlight-bg);
    }

    .contact-info-panel {
        padding-right: 0;
    }

    .pillars-nav-shell {
        padding: 10px 0;
    }

    .pillars-nav-track {
        justify-content: flex-start;
    }

}

@media (max-width: 900px) {
    .blog-detail-layout {
        display: block;
    }

    .blog-detail-sidebar {
        margin-top: 24px;
    }

    .blog-sidebar-sticky {
        position: static;
    }
}

@media screen and (max-width: 767px) {
    .hero-cta-wrapper {
        align-items: center;
        text-align: center;
    }

    .hero-cta-wrapper .hero-cta-primary,
    .hero-cta-wrapper .hero-cta-secondary {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 479px) {
    .contact-form-card {
        border-radius: 10px;
        box-shadow: none;
        padding: 20px 16px;
    }

    .contact-form-subhead {
        font-size: 17px;
        line-height: 1.45;
    }

    .contact-submit-button {
        width: 100%;
    }
}
