.page-template-ayyash-home .site-content { padding-top: 0; } .ayyash-home-popular-and-latest-blog-section, .ayyash-home-important-blog-section, .ayyash-home-category-blog-section { padding-top: var(--ayyash-gap-40); } .ayyash-cat-menu-and-date-area { padding: var(--ayyash-gap-30) 0; } .ayyash-cat-menu-and-date-area .cat-menu-and-date-wrap { gap: var(--ayyash-gap-25); } .ayyash-cat-menu-and-date-area .ayyash-cat-menu { padding: 0; margin: 0; } .ayyash-cat-menu-and-date-area .ayyash-cat-menu li { display: inline-block; padding: 0.375rem 0.75rem; } .ayyash-cat-menu-and-date-area .ayyash-cat-menu li.active { background-color: var(--ayyash-color-primary); border-radius: 6.25rem; } .ayyash-cat-menu-and-date-area .ayyash-cat-menu li.active a { color: #fff; } .ayyash-cat-menu-and-date-area .ayyash-cat-menu a { text-decoration: none; font-weight: var(--ayyash-500-font-weight); } .ayyash-cat-menu-and-date-area .ayyash-cat-menu a:not(:hover) { color: var(--ayyash-color-heading); } .ayyash-cat-menu-and-date-area .ayyash-date { color: var(--ayyash-color-heading); font-weight: var(--ayyash-500-font-weight); border: 1px solid var(--ayyash-color-heading); padding: var(--ayyash-gap-10) var(--ayyash-gap-15); } .ayyash-cat-menu-and-date-area .ayyash-date i { margin-right: var(--ayyash-gap-10); } .ayyash-cat-menu-and-date-area .ayyash-cat-select { border: 1px solid var(--ayyash-color-heading); padding: 10px; font-weight: var(--ayyash-500-font-weight); } .ayyash-sticky-post-area { border-top: 1px solid var(--ayyash-color-border); border-bottom: 1px solid var(--ayyash-color-border); background-color: var(--ayyash-color-content-bg); padding: var(--ayyash-gap-30) 0; } .ayyash-sticky-post-area .sticky-post-wrapper.column-3 { display: flex; gap: var(--ayyash-gap-20); flex-wrap: wrap; } .ayyash-sticky-post-area .single-post { display: flex; align-items: center; } .ayyash-sticky-post-area .single-post .thumbnail { margin-right: var(--ayyash-gap-20); width: 6.5rem; height: 6.5rem; } .ayyash-sticky-post-area .single-post .thumbnail img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; } .ayyash-sticky-post-area .single-post .content { flex: 1; width: 100%; } .ayyash-sticky-post-area .single-post .meta { font-size: var(--ayyash-small-font-size); font-weight: var(--ayyash-500-font-weight); margin-bottom: var(--ayyash-gap-10); } .ayyash-sticky-post-area .single-post .title { margin: 0; -webkit-line-clamp: 2; overflow: hidden; -webkit-box-orient: vertical; display: -webkit-box; } .ayyash-home-popular-and-latest-blog-section .ayyash-tab-list { margin-bottom: var(--ayyash-gap-20); padding-bottom: var(--ayyash-gap-15); gap: var(--ayyash-gap-20); } .ayyash-home-popular-and-latest-blog-section .ayyash-tab-list button { border: none; background-color: #fff; color: var(--ayyash-color-heading); text-transform: capitalize; padding: 0.313rem 0; line-height: 1.3; font-weight: var(--ayyash-600-font-weight); } .ayyash-home-popular-and-latest-blog-section .ayyash-tab-list button.active { border-radius: var(--ayyash-gap-100); background-color: var(--ayyash-color-primary); color: #fff; padding: 0.313rem 0.75rem; } .ayyash-home-popular-and-latest-blog-section .tab-pane.active { display: flex; flex-direction: column; gap: var(--ayyash-gap-20); } .ayyash-home-popular-and-latest-blog-section .tab-pane .first-item { position: relative; width: 100%; height: 18.75rem; } .ayyash-home-popular-and-latest-blog-section .tab-pane .first-item .thumbnail { height: 100%; } .ayyash-home-popular-and-latest-blog-section .tab-pane .first-item .thumbnail:after { content: ""; width: 100%; height: 100%; position: absolute; left: 0; top: 0; background: linear-gradient(90.38deg, rgba(0, 10, 36, 0.9) 46.72%, rgba(0, 10, 36, 0) 99.68%); opacity: 0.3; } .ayyash-home-popular-and-latest-blog-section .tab-pane .first-item .content { position: absolute; left: 50%; transform: translateX(-50%); bottom: var(--ayyash-gap-40); width: 100%; max-width: 27.25rem; text-align: center; color: #fff; } .ayyash-home-popular-and-latest-blog-section .tab-pane .first-item .content a:not(:hover) { color: #fff; } .ayyash-home-popular-and-latest-blog-section .tab-pane .blog-list { flex: 1; } .ayyash-home-popular-and-latest-blog-section .tab-pane .blog-list .blog-item { display: flex; gap: var(--ayyash-gap-20); } .ayyash-home-popular-and-latest-blog-section .tab-pane .blog-list .blog-item:not(:first-child) { margin-top: var(--ayyash-gap-20); } .ayyash-home-popular-and-latest-blog-section .tab-pane .blog-list .thumbnail { width: 7.188rem; min-height: 5.313rem; } .ayyash-home-popular-and-latest-blog-section .tab-pane .blog-list .content { flex: 1; } .ayyash-home-popular-and-latest-blog-section .tab-pane .blog-item img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; } .ayyash-home-popular-and-latest-blog-section .tab-pane .blog-item .meta { font-size: var(--ayyash-small-font-size); font-weight: 500; margin-bottom: var(--ayyash-gap-10); text-transform: capitalize; } .ayyash-home-popular-and-latest-blog-section .tab-pane .blog-item .title { margin: 0; -webkit-line-clamp: 2; overflow: hidden; -webkit-box-orient: vertical; display: -webkit-box; } .ayyash-home-post-wrapper { display: flex; flex-wrap: wrap; gap: var(--ayyash-gap-20); } .ayyash-home-post-wrapper .post-item { width: 100%; display: flex; flex-direction: column; gap: var(--ayyash-gap-20); overflow: hidden; } .ayyash-home-post-wrapper .thumbnail { width: 100%; aspect-ratio: 1; max-height: 200px; text-align: center; display: flex; justify-content: center; align-items: center; background-color: var(--ayyash-color-content-bg); } .ayyash-home-post-wrapper .thumbnail img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; } .ayyash-home-post-wrapper .content { width: 100%; } .ayyash-home-post-wrapper .content .meta { font-size: var(--ayyash-small-font-size); font-weight: var(--ayyash-500-font-weight); } .ayyash-home-post-wrapper .content .title { margin: 0; padding: var(--ayyash-gap-10) 0 var(--ayyash-gap-10) 0; -webkit-line-clamp: 2; overflow: hidden; -webkit-box-orient: vertical; display: -webkit-box; } .ayyash-home-post-wrapper .content p { margin: 0; } .ayyash-read-more a { display: inline-grid; grid-auto-flow: column; align-items: center; font-weight: var(--ayyash-500-font-weight); } @media (min-width: 576px) { .ayyash-sticky-post-area .column-3 .single-post { width: calc(50% - var(--ayyash-gap-10)); } } @media (min-width: 768px) { .ayyash-home-post-wrapper:not(.column-1) .post-item { width: calc(50% - var(--ayyash-gap-10)); } .ayyash-home-popular-and-latest-blog-section, .ayyash-home-important-blog-section, .ayyash-home-category-blog-section { padding-top: var(--ayyash-gap-60); } } @media (min-width: 992px) { .ayyash-sticky-post-area .column-3 .single-post { width: calc(33.33% - 0.833rem); max-width: 23.75rem; } .ayyash-home-popular-and-latest-blog-section .ayyash-tab-list { width: calc(100% - (63% + var(--ayyash-gap-20))); margin-left: auto; } .ayyash-home-popular-and-latest-blog-section .tab-pane.active { flex-direction: row; } .ayyash-home-popular-and-latest-blog-section .tab-pane .first-item { width: 63%; height: auto; margin-top: -4.125rem; } .ayyash-home-post-wrapper.column-2 .post-item { width: calc(50% - var(--ayyash-gap-10)); } .ayyash-home-post-wrapper.column-3 .post-item { width: calc(33.33% - 0.833rem); } .ayyash-home-post-wrapper.column-4 .post-item { width: calc(25% - var(--ayyash-gap-15)); } .ayyash-home-post-wrapper .post-item.image-left { flex-direction: row; } .ayyash-home-post-wrapper .post-item.image-left .thumbnail { width: 45%; aspect-ratio: auto; max-height: none; } .ayyash-home-popular-and-latest-blog-section, .ayyash-home-important-blog-section, .ayyash-home-category-blog-section { padding-top: var(--ayyash-gap-80); } }