/* Template 5 Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.template5-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #F4F9F8;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative;
}

/* PC端居中显示 - 固定手机屏幕宽度 */
.template5-body.mobile-preview {
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.template5-body.mobile-preview::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f0f0f0;
    z-index: -1;
}

.template5-body.mobile-preview::after {
    content: '';
    display: block;
    width: 414px;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #F4F9F8;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    z-index: -1;
    pointer-events: none;
}

.template5-body.mobile-preview>* {
    width: 414px;
    max-width: 414px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Footer在移动预览模式下保持正常文档流 */
.template5-body.mobile-preview>.template5-footer {
    position: relative;
}

/* 固定定位的元素需要特殊处理 - 在PC预览模式下也限制宽度 */
.template5-body.mobile-preview .template5-side-menu {
    left: 50%;
    margin-left: -207px;
    width: 414px;
    max-width: 414px;
    position: fixed !important;
    z-index: 1000 !important;
}

/* PC预览模式下侧边菜单内容区域确保可以点击 */
.template5-body.mobile-preview .template5-side-menu-content {
    pointer-events: auto !important;
    z-index: 1001 !important;
    width: calc(414px - 45px) !important;
    max-width: calc(414px - 45px) !important;
}


/* PC预览模式下导航项确保可以点击 */
.template5-body.mobile-preview .template5-side-menu-content .template5-nav-item {
    pointer-events: auto !important;
    cursor: pointer;
}

.template5-body.mobile-preview .template5-search-modal {
    left: 50%;
    margin-left: -207px;
    width: 414px;
    max-width: 414px;
    position: fixed !important;
    z-index: 2000 !important;
    top: 0 !important;
    height: 100vh !important;
}

.template5-body.mobile-preview .template5-side-menu-overlay {
    width: 414px;
    left: 50%;
    margin-left: -207px;
}

.template5-body.mobile-preview .template5-search-modal-overlay {
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
}

/* Footer在PC预览模式下也需要特殊处理 */
.template5-body.mobile-preview .template5-footer {
    width: 414px;
    max-width: 414px;
    margin-left: auto;
    margin-right: auto;
}

/* Detail page footer in PC preview mode */
.template5-body.mobile-preview.detail-page .template5-footer {
    width: 414px;
    max-width: 414px;
    margin-left: auto;
    margin-right: auto;
}

/* Detail page search modal in PC preview mode */
.template5-body.mobile-preview.detail-page .template5-search-modal {
    left: 50%;
    margin-left: -207px;
    width: 414px;
    max-width: 414px;
    position: fixed !important;
    z-index: 2000 !important;
    top: 0 !important;
    height: 100vh !important;
}

/* Header Styles */
.template5-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #F4F9F8;
    border-bottom: 1px solid #DEDEDE;
    z-index: 100;
    padding: 0;
    display: flex;
    align-items: center;
}

.template5-header-content {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.template5-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.template5-logo-text {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.template5-logo-text-plus {
    font-family: Oswald;
    font-size: 18px;
    font-weight: bold;
    line-height: normal;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #111827;
}

.template5-logo-text-fit {
    font-family: Oswald;
    font-size: 18px;
    font-weight: bold;
    line-height: normal;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #10B981;
}

.template5-header-right {
    display: flex;
    align-items: center;
}

.template5-search-btn {
    text-decoration: none;
}

.template5-search-btn,
.template5-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.template5-search-btn svg,
.template5-menu-btn svg {
    width: 20px;
    height: 20px;
}

/* Main Content */
.template5-main {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background-color: #F4F9F8;
    min-height: calc(100vh - 60px - 80px);
}

/* News List */
.template5-news-list {
    padding: 0;
    background-color: #F4F9F8;
}

.template5-news-item {
    margin-bottom: 0;
    background-color: #F4F9F8;
    padding: 0;
    box-sizing: border-box;
}

/* Type no-image: No image, Title and Time only */
.template5-news-item.type-no-image .template5-news-thumbnail {
    display: none;
}

.template5-news-item.type-large .template5-news-thumbnail {
    display: block;
}

.template5-news-thumbnail {
    width: 100%;
    padding: 0;
    margin: 0;
    aspect-ratio: 345 / 220;
    overflow: hidden;
    border-radius: 0;
    background-color: #f0f0f0;
    box-sizing: border-box;
    display: block;
    padding-left: 15px;
    padding-right: 15px;
}

.template5-news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.template5-news-content {
    padding: 0 15px 20px 15px;
}

.template5-news-title {
    font-family: Oswald;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    text-transform: capitalize;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #222222;
    margin: 0;
    margin-top: 15px;
}

.template5-news-time {
    font-family: Oswald;
    font-size: 14px;
    font-weight: normal;
    line-height: 26px;
    text-transform: capitalize;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #8E97A1;
    margin: 0;
    margin-top: 5px;
}

.template5-news-description {
    font-family: Oswald;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    text-transform: capitalize;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #222222;
    margin: 0;
}

/* Type 1: First Item - Top Image + Title + Description (vertical layout) */
.template5-news-item.type-first {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    background-color: #F4F9F8;
    padding: 0;
    box-sizing: border-box;
}

.template5-news-item.type-first .template5-news-thumbnail-first {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: #f0f0f0;
    box-sizing: border-box;
    display: block;
}

.template5-news-item.type-first .template5-news-thumbnail-first img {
    width: 100%;
    height: auto;
    display: block;
}

.template5-news-item.type-first .template5-news-content-first {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.template5-news-item.type-first .template5-news-title-first {
    font-family: Oswald;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    text-transform: capitalize;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #222222;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.template5-news-item.type-first .template5-news-description-first {
    font-family: Oswald;
    font-size: 14px;
    font-weight: normal;
    line-height: 16px;
    text-transform: capitalize;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #353F49;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Type 2: Small Card - Left Image, Right Title and Time */
.template5-news-item.type-small {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    background-color: #F4F9F8;
    padding: 0;
    box-sizing: border-box;
}

.template5-news-item.type-small .template5-news-main {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    padding: 0;
}

.template5-news-item.type-small .template5-news-thumbnail-small {
    width: 142px;
    min-width: 142px;
    height: 72px;
    border-radius: 0;
    overflow: hidden;
    background-color: #f0f0f0;
    flex-shrink: 0;
    margin-left: 15px;
    margin-top: 12px;
    margin-bottom: 30px;
    margin-right: 10px;
}

.template5-news-item.type-small .template5-news-thumbnail-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.template5-news-item.type-small .template5-news-content-small {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    margin-top: 12px;
    height: 72px;
    padding-right: 15px;
}

.template5-news-item.type-small .template5-news-title-small {
    font-family: Oswald;
    font-size: 14px;
    font-weight: normal;
    line-height: 16px;
    text-transform: capitalize;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #353F49;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.template5-news-item.type-small .template5-news-time-small {
    font-family: Oswald;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    text-transform: capitalize;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #8E97A1;
    margin: 0;
    margin-top: auto;
}

/* Footer */
.template5-footer {
    width: 100%;
    background-color: #1a1a1a;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.template5-footer-content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.template5-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 30px 15px 20px 15px;
    background-color: #1a1a1a;
}

.template5-footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.template5-footer-logo-plus {
    font-family: Oswald;
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
}

.template5-footer-logo-fit {
    font-family: Oswald;
    font-size: 24px;
    font-weight: bold;
    color: #10B981;
}

.template5-footer-description {
    font-size: 14px;
    color: #FFFFFF;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: left;
}

.template5-footer-divider {
    width: 100%;
    height: 1px;
    background-color: #333333;
    margin: 0;
}

.template5-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 15px;
    background-color: #1a1a1a;
}

.template5-footer-link {
    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.template5-footer-link:hover {
    color: #10B981;
}

.template5-footer-bottom {
    width: 100%;
    background-color: #000000;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.template5-footer-copyright {
    color: #FFFFFF;
    font-size: 12px;
    text-align: left;
    margin: 0;
    padding: 0;
}

.template5-back-to-top {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    background-color: #FF0000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: background-color 0.3s;
    z-index: 10;
}

.template5-back-to-top:hover {
    background-color: #CC0000;
}

.template5-back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Side Menu */
.template5-side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    overflow: visible;
}

.template5-side-menu.active {
    display: block;
}

.template5-side-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s;
}

.template5-side-menu.active .template5-side-menu-overlay {
    background: rgba(1, 2, 9, 0.86);
}

.template5-side-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 45px);
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
    position: relative;
}

.template5-side-menu.active .template5-side-menu-content {
    transform: translateX(0);
}

.template5-side-menu-header {
    background-color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.template5-side-menu-title {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.template5-close-btn {
    position: absolute;
    left: 100%;
    top: 20px;
    margin-left: 0;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    z-index: 1002;
}

.template5-close-btn:hover {
    opacity: 0.7;
}

.template5-close-btn svg {
    width: 24px;
    height: 24px;
}

.template5-close-btn svg path {
    stroke: #ffffff;
}

.template5-side-menu-search-box {
    padding: 0 20px;
    margin-bottom: 20px;
}

.template5-side-menu-search-input {
    width: 100%;
    height: 44px;
    opacity: 1;
    box-sizing: border-box;
    border: 1px solid #E9E9E9;
    padding: 0 15px;
    font-family: Oswald;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #333;
    background-color: #fff;
    outline: none;
    cursor: pointer;
}

.template5-side-menu-search-input::placeholder {
    font-family: Oswald;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #9E9E9E;
}

.template5-side-menu-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.template5-nav-item {
    display: block;
    padding: 15px 20px;
    color: #313131;
    text-decoration: none;
    text-transform: none;
    font-family: Oswald;
    font-size: 16px;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    transition: background-color 0.2s;
    position: relative;
}

.template5-nav-item:hover {
    background-color: #f5f5f5;
}

.template5-nav-item.active {
    /* 移除选中状态的色块 */
}

.template5-nav-item-search {
    display: flex;
    align-items: center;
}

.template5-nav-item-search svg {
    width: 24px;
    height: 24px;
    color: #666;
}

.template5-side-menu-search {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

.template5-side-menu-search-btn {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    font-size: 14px;
    transition: background-color 0.2s;
}

.template5-side-menu-search-btn:hover {
    background-color: #f5f5f5;
}

/* Search Modal */
.template5-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.template5-search-modal.active {
    display: block;
}

.template5-search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: template5-fadeIn 0.3s;
}

.template5-search-modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F4F9F8;
    display: flex;
    flex-direction: column;
    animation: template5-slideDown 0.3s;
}

@keyframes template5-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes template5-slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.template5-search-header {
    padding: 10px 15px;
    background-color: #F4F9F8;
    border-bottom: 1px solid #DEDEDE;
    display: flex;
    align-items: center;
    gap: 15px;
}

.template5-search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.template5-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #DEDEDE;
    border-radius: 20px;
    font-size: 14px;
    background-color: #fff;
    outline: none;
}

.template5-search-input:focus {
    border-color: #1a73e8;
}

.template5-search-clear-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: none;
    align-items: center;
    justify-content: center;
}

.template5-search-clear-btn.active {
    display: flex;
}

.template5-search-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template5-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #F4F9F8;
}

.template5-search-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    text-align: center;
}

.template5-search-placeholder p {
    margin-top: 15px;
    font-size: 14px;
}

/* Search Page Styles */
.template5-search-page-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    background-color: #F4F9F8;
    margin-top: 10px;
}

.template5-search-page-content .template5-search-header {
    padding: 10px 15px;
    background-color: #F4F9F8;
    border-bottom: 1px solid #DEDEDE;
    position: sticky;
    top: 60px;
    z-index: 10;
}

.template5-search-page-content .template5-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background-color: #F4F9F8;
}

/* Loading State */
.template5-loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/* Ad Slot */
.ad-slot {
    width: 100%;
    margin: 20px 0;
    padding: 0;
    background-color: #F4F9F8;
    text-align: center;
    box-sizing: border-box;
}

.ad-slot-placeholder {
    background-color: #FAFAFA;
    padding: 20px 16px;
    border: 1px dashed #DEDEDE;
    border-radius: 6px;
    min-height: 60px;
}

.ad-slot-content {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.ad-slot-content.ad-loading {
    color: #CCC;
    font-style: italic;
}

/* 广告位内的标签和横幅样式 */
.ad-slot .ad-label {
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
    text-align: center;
}

.ad-slot .ad-banner {
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.ad-slot .ad-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Detail Page */
.detail-page {
    background-color: #F4F9F8;
    margin: 0;
    padding: 0;
    position: relative;
}

.detail-main {
    padding: 0;
    margin-top: 0;
    background-color: #F4F9F8;
    min-height: calc(100vh - 60px - 80px);
}

/* Article header (image + title + description) in detail page */
.detail-main #articleHeader {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    background-color: #F4F9F8;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
}

.detail-main #articleHeader .template5-news-thumbnail-first {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 0;
    overflow: hidden;
    background-color: #f0f0f0;
    box-sizing: border-box;
    display: block;
}

.detail-main #articleHeader .template5-news-thumbnail-first img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-main #articleHeader .template5-news-content-first {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Detail page header should use template5-header styles */
.detail-page .template5-header {
    position: sticky;
    top: 0;
}

.detail-page .template5-header-content {
    justify-content: space-between;
}

.back-btn {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 5px;
}

.back-icon {
    font-size: 20px;
    color: #1a73e8;
}

.article-detail {
    background-color: #F4F9F8;
    padding: 16px;
    margin-top: 0;
}

.article-title {
    font-size: 20px;
    font-weight: bold;
    color: #1c1c1c;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tag-pill {
    padding: 4px 10px;
    border-radius: 12px;
    background-color: #e8f4ff;
    color: #0a7aff;
    font-size: 12px;
}

.article-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

.article-hero {
    width: 100%;
    height: 210px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.article-body p {
    margin-bottom: 12px;
}

.article-list {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 16px;
}

.article-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.article-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 10px;
    color: #1a73e8;
}

.more-news-section {
    margin-top: 16px;
}

.more-news-title {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin: 0 0 8px;
    padding: 0 0 0 4px;
}

.more-news-list {
    background-color: #F4F9F8;
}
.lazy-img {
  max-width: 100%;
  height: auto;
  display: block;
}