html,
body {
    min-width: 0;
}

body {
    font-size: 16px;
}

#hd,
#wrapper,
#ft {
    min-width: 0;
}

#wrapper,
#container_wr,
#container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
}

#container_title {
    display: none;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 12px 16px;
    color: #fff;
    background: #1f2f46;
}

.skip-link:focus {
    top: 16px;
}

.header-actions {
    gap: 16px;
}

.header-search {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d9d9d9;
}

.header-search input {
    width: 100px;
    padding: 6px 4px;
    border: 0;
    background: transparent;
    font-size: 14px;
}

.header-search button {
    padding: 6px;
    border: 0;
    background: transparent;
}

.mobile-nav-toggle {
    border: 0;
    font-family: inherit;
}

.account-link {
    color: var(--heading-color);
    font-size: 14px;
    white-space: nowrap;
}

.hero-eyebrow,
.section-eyebrow {
    margin: 0 0 10px;
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.hero-description {
    margin: 10px 0 0;
    color: var(--contrast-color);
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--contrast-color);
    font-weight: 600;
}

.blog-hero .blog-item:not(.featured) .blog-content {
    padding: 1.25rem;
}

.blog-hero .blog-item:not(.featured) .post-title {
    color: var(--contrast-color);
    font-size: 1.25rem;
}

.mobile-account-link {
    display: none;
}

.latest-posts .section-heading {
    margin-bottom: 28px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 8px;
    background: var(--surface-color);
}

.blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-content {
    padding: 22px;
}

.blog-card .post-meta,
.blog-card .post-author {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: color-mix(in srgb, var(--default-color), transparent 35%);
    font-size: 13px;
}

.blog-card h3 {
    margin: 12px 0;
    font-size: 20px;
    line-height: 1.45;
}

.blog-card h3 a {
    color: var(--heading-color);
}

.blog-card p {
    margin: 0 0 18px;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    line-height: 1.7;
}

.blog-card .post-author {
    padding-top: 14px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.empty-blog {
    padding: 48px 0;
    text-align: center;
}

.empty-blog p {
    margin: 12px 0;
}

.blog-preview-gallery {
    margin-top: 36px;
}

.blog-preview-gallery .section-title {
    padding-bottom: 24px;
}

.blog-preview-card {
    height: 100%;
    overflow: hidden;
    margin: 0;
    border-radius: 10px;
    background: var(--surface-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.blog-preview-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog-preview-card figcaption {
    padding: 14px 18px;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    font-size: 14px;
}

@media (max-width: 1199px) {
    .header-actions {
        display: none !important;
    }

    .mobile-account-link {
        display: list-item;
    }

    .blog-hero .blog-item.featured .blog-content {
        padding: 1.5rem;
    }

    .blog-hero .blog-item.featured .post-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-hero .blog-item.featured .post-title {
        font-size: 1.35rem;
    }

    .blog-hero .blog-item .blog-content {
        padding: 1.25rem;
    }
}
