/* TAXSCO Custom Blog - Minimog Child Theme */
.taxsco-blog {
    --taxsco-navy: #142B3D;
    --taxsco-red: #D12920;
    --taxsco-text: #777777;
    --taxsco-border: #E8E9EA;
    --taxsco-light: #F4F5F6;
    background: #fff;
    color: var(--taxsco-navy);
}
.taxsco-container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}
.taxsco-blog-hero {
    background: var(--taxsco-navy);
    padding: 112px 0 64px;
}
.taxsco-blog-hero .taxsco-eyebrow {
    display: inline-block;
    color: var(--taxsco-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .35em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.taxsco-blog-hero h1 {
    color: #fff;
    margin: 0 0 16px;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 800;
}
.taxsco-blog-hero p {
    color: #8fa5b5;
    font-size: 18px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0;
}
.taxsco-blog-content {
    padding: 64px 0 90px;
}
.taxsco-blog-toolbar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 48px;
}
.taxsco-search {
    position: relative;
    width: 100%;
    max-width: 360px;
}
.taxsco-search input[type="search"] {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 42px;
    border: 1px solid var(--taxsco-border);
    background: #fff;
    color: var(--taxsco-navy);
    outline: 0;
    border-radius: 0;
    box-sizing: border-box;
}
.taxsco-search input[type="search"]:focus {
    border-color: var(--taxsco-red);
}
.taxsco-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-52%);
    color: #777;
    font-size: 20px;
    z-index: 2;
}
.taxsco-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.taxsco-categories a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--taxsco-border);
    color: #777;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}
.taxsco-categories a:hover,
.taxsco-categories a.active {
    color: #fff;
    background: var(--taxsco-red);
    border-color: var(--taxsco-red);
}
.taxsco-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
}
.taxsco-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--taxsco-light);
    border: 1px solid var(--taxsco-border);
    margin-bottom: 48px;
    overflow: hidden;
}
.taxsco-featured-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--taxsco-light);
}
.taxsco-featured-image img,
.taxsco-card-image img,
.taxsco-latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.taxsco-featured:hover .taxsco-featured-image img,
.taxsco-card:hover .taxsco-card-image img,
.taxsco-latest:hover .taxsco-latest-image img {
    transform: scale(1.05);
}
.taxsco-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}
.taxsco-meta,
.taxsco-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.taxsco-meta {
    margin-bottom: 18px;
    color: #777;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.taxsco-featured-label {
    background: var(--taxsco-red);
    color: #fff;
    padding: 4px 8px;
    font-weight: 700;
}
.taxsco-featured h2 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
}
.taxsco-featured h2 a,
.taxsco-card h3 a,
.taxsco-latest h4 a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}
.taxsco-featured:hover h2 a,
.taxsco-card:hover h3 a,
.taxsco-latest:hover h4 a {
    color: var(--taxsco-red);
}
.taxsco-featured-body > p,
.taxsco-card-body > p {
    color: var(--taxsco-text);
    line-height: 1.75;
    margin: 0 0 18px;
}
.taxsco-date {
    display: flex;
    gap: 10px;
    color: #aaa;
    font-size: 11px;
}
.taxsco-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.taxsco-card {
    background: #fff;
    border: 1px solid var(--taxsco-border);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}
.taxsco-card:hover {
    box-shadow: 0 12px 32px rgba(20,43,61,.10);
    transform: translateY(-2px);
}
.taxsco-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--taxsco-light);
}
.taxsco-card-body {
    padding: 20px;
}
.taxsco-card-meta {
    margin-bottom: 12px;
    color: #aaa;
    font-size: 10px;
}
.taxsco-cat {
    color: var(--taxsco-red);
    background: var(--taxsco-light);
    padding: 4px 7px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .12em;
}
.taxsco-card h3 {
    font-size: 15px;
    line-height: 1.45;
    font-weight: 800;
    margin: 0 0 10px;
}
.taxsco-card-body > p {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.taxsco-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #aaa;
    font-size: 11px;
}
.taxsco-card-footer a {
    color: var(--taxsco-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-decoration: none;
}
.taxsco-card-footer a:hover {
    text-decoration: underline;
}
.taxsco-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.taxsco-side-block h3 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    padding: 0 0 12px;
    margin: 0 0 20px;
    border-bottom: 1px solid var(--taxsco-border);
}
.taxsco-latest {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.taxsco-latest-image {
    display: block;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    overflow: hidden;
    background: var(--taxsco-light);
}
.taxsco-latest h4 {
    margin: 0 0 5px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}
.taxsco-latest span {
    color: #aaa;
    font-size: 10px;
}
.taxsco-side-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #777;
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}
.taxsco-side-categories a:hover {
    color: var(--taxsco-navy);
}
.taxsco-side-categories b {
    background: var(--taxsco-light);
    color: #777;
    font-size: 11px;
    font-weight: 400;
    padding: 3px 8px;
}
.taxsco-sidebar-cta {
    background: var(--taxsco-navy);
    padding: 28px 24px;
}
.taxsco-sidebar-cta h3 {
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 10px;
    font-weight: 800;
}
.taxsco-sidebar-cta p {
    color: #8fa5b5;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 20px;
}
.taxsco-sidebar-cta a {
    display: block;
    text-align: center;
    background: var(--taxsco-red);
    color: #fff;
    padding: 13px 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-decoration: none;
    transition: background .2s ease;
}
.taxsco-sidebar-cta a:hover {
    background: #b82218;
}
.taxsco-pagination {
    margin-top: 40px;
}
.taxsco-pagination ul {
    display: flex;
    justify-content: center;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.taxsco-pagination a,
.taxsco-pagination span {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--taxsco-border);
    color: #777;
    text-decoration: none;
    font-size: 12px;
}
.taxsco-pagination .current,
.taxsco-pagination a:hover {
    background: var(--taxsco-red);
    border-color: var(--taxsco-red);
    color: #fff;
}
.taxsco-no-results {
    padding: 60px 20px;
    text-align: center;
    border: 1px solid var(--taxsco-border);
}
.taxsco-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100px;
    background: var(--taxsco-light);
}
@media (max-width: 1100px) {
    .taxsco-blog-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .taxsco-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
    .taxsco-sidebar-cta {
        grid-column: 1 / -1;
    }
}
@media (max-width: 900px) {
    .taxsco-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .taxsco-blog-toolbar {
        flex-direction: column;
    }
    .taxsco-search {
        max-width: none;
    }
}
@media (max-width: 680px) {
    .taxsco-container {
        width: min(100% - 32px, 1280px);
    }
    .taxsco-blog-hero {
        padding: 78px 0 48px;
    }
    .taxsco-blog-content {
        padding: 42px 0 60px;
    }
    .taxsco-featured {
        grid-template-columns: 1fr;
    }
    .taxsco-featured-body {
        padding: 26px 22px;
    }
    .taxsco-post-grid {
        grid-template-columns: 1fr;
    }
    .taxsco-sidebar {
        display: flex;
    }
    .taxsco-categories a {
        min-height: 38px;
        padding: 0 11px;
        font-size: 9px;
    }
}
