/**
* Theme Name: Ahawebsite
* Theme URI: https://ahawebsite.com
* Description: Giao diện website được thiết kế và lập trình bởi Aha.
* Author: Aha
* Author URI: https://ahawebsite.com
* Version: 7.0.7
* Tags: giao diện hiện đại, phong cách thời thượng, tương thích mọi loại trình duyệt, tốc độ load trang tối đa, tối ưu SEO.
* Text Domain: ahawebsite
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/******************/
/*** Main CSS ***/
/******************/

:root {
	--main-color: #2f3552;
	--secondary-color: #ffb533;
}

html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

img.aligncenter {
	display: table;
	margin-left: auto;
	margin-right: auto;
}

button {
	cursor: pointer;
}

.aligncenter {
	display: table;
	margin: 0 auto;
}

.alignright {
	display: table;
	margin-left: auto;
}

.alignleft {
	display: table;
	margin-right: auto;
}

.wp-block-image .aligncenter {
	margin-left: auto !important;
	margin-right: auto !important;
}

.backtotop {
	width: 40px;
	height: 40px;
	background-color: #222;
	text-align: center;
	padding: 10px;
	line-height: 20px;
	position: fixed;
	bottom: 10px;
	right: 10px;
	cursor: pointer;
	color: #fff;
	font-size: 20px;
	z-index: 99;
	border-radius: 50%;
	transition: all .3s ease-in-out;
	align-items: center;
	justify-content: center;
	display: flex;
	opacity: 0;
	visibility: hidden;
}

.backtotop.active {
	opacity: 1;
	visibility: visible;
}
.backtotop polyline {
    stroke: #fff;
}
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/*------- UPDATE CSS -------*/

nav.elementor-pagination {
    margin-top: 30px;
}
nav.elementor-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    min-width: 36px;
    height: 36px;
    border-radius: 3px;
    color: #333;
    font-weight: 500;
}
nav.elementor-pagination .page-numbers:hover, nav.elementor-pagination .page-numbers.current {
	border-color: #ff0000;
	color: #fff;
	background: #ff0000;
}
#comments {
    width: 100%;
    float: left;
    margin: 25px 0 15px;
    border-top: 1px solid #ccc;
    padding: 15px 0
}

#comments #reply-title {
    font-size: 20px;
    margin-bottom: 15px
}

#comments label {
    width: 100%;
    float: left
}

#comments textarea,#comments input {
    width: 100%;
    float: left;
    padding: 10px;
    border: 1px solid #ccc;
    color: #333
}

#comments p {
    width: 100%;
    float: left;
    margin-bottom: 5px
}
#comments p a {
    color: #162b75;
}
#comments p a:hover {
    color: #c48429;
}
.comment-notes {
    margin-bottom: 20px
}

.comment-form-author {
    width: 48%!important;
    float: left!important;
    margin-right: 4%
}

.comment-form-email {
    width: 48%!important;
    float: left!important
}

#wp-comment-cookies-consent,.comment-form-cookies-consent label {
    width: auto!important;
    float: left
}

.comment-form-cookies-consent label {
    margin-left: 10px
}

#comments #submit {
    width: auto;
    background: #162b75;
    color: #fff;
    border: none;
    padding: 8px 25px;
    font-size: 16px;
    cursor: pointer;
}
#comments #submit:hover {
    background: #c48429;
}
#comments ul {
    width: 100%;
    float: left;
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    margin-bottom: 0
}

#comments ul li {
    margin-bottom: 20px;
    width: 100%;
    float: left
}

#comments .avatar {
    width: 60px;
    float: left;
    margin-right: 15px;
    border-radius: 50%
}

#comments .comment-content {
    width: 100%;
    float: left;
    margin-left: 0;
    background: #ddd6;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px
}

.comment-form-cookies-consent,.commentlist .says {
    display: none
}

#comments .comment-meta,#comments .reply {
    width: 100%;
    float: left
}

#comments .comment-meta .fn a {
    pointer-events: none
}

.comment-metadata a {
    color: #8E8E8D;
    font-style: italic;
    font-size: 12px
}

.comment-reply-link {
    font-style: italic;
    margin-left: 5px;
    font-size: 12px
}

#comments .reply {
    margin: 5px 0
}

#comments .edit-link {
    margin-left: 8px
}

#comments .edit-link a {
    color: #162b75!important
}

#comments .comment-body {
    width: 100%;
    float: left
}

#comments .children {
    padding-left: 45px!important
}
ul.custom-slick-slider {
    margin: 0;
}
.custom-slick-prev, .custom-slick-next {
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-slick-prev:hover, .custom-slick-next:hover {
	background-color: rgba(0, 0, 0, 1);
}

.custom-slick-prev {
    left: 0;
}

.custom-slick-next {
    right: 0;
}

.custom-slick-prev i, .custom-slick-next i {
    font-size: 18px;
}

/**** STYLE NEW ****/

body, a, p, span {
    font-family: "Roboto", sans-serif!important;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6!important;
}
main p, main span {
    font-size: 16px!important;
    line-height: 1.6!important;
}
img {
    max-width: 100%;
}
a:hover {
	cursor: pointer;
}
.container {
    max-width: 1270px;
    margin: 0 auto;
}

/**** STYLE HEADER ****/

header#masthead {
	padding: 8px 0;
	box-shadow: 1px 1px 10px rgba(0,0,0,.15);
    position: relative;
}
header.header-fixed {
    left: 0;
    margin: 0 auto;
    position: fixed!important;
    right: 0;
    top: 0!important;
    background: #fff;
    z-index: 9999;
}
.admin-bar header.header-fixed {
	top: 32px!important;
}
header.header-fixed .site-branding img {
    max-height: 50px;
}
header#masthead .container, .header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-branding img {
    max-height: 70px;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}
button.menu-toggle {
    display: none;
}
ul#primary-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}
ul#primary-menu li {
	display: inline-block;
}
ul#primary-menu li + li {
	margin-left: 10px;
}
ul#primary-menu a {
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
	font-size: 14px;
}
ul#primary-menu a:hover, .right-icon .button_:hover {
	color: #c48429;
}
.right-icon {
    display: flex;
    align-items: center;
    padding-left: 30px;
	position: relative;
}
.right-icon .button_ {
    font-size: 20px;
}
.right-icon .button_ i {
	cursor: pointer;
}
.gtranslate_wrapper {
    margin-left: 10px;
}
.gtranslate_wrapper span.gglobe {
    width: 30px;
    height: 30px;
}
.right-icon .search__form {
    position: absolute;
    top: 100%;
    border: 2px solid #ddd;
    box-shadow: 1px 1px 15px rgba(0,0,0,.15);
    padding: 10px;
    z-index: 99;
    transition: opacity .25s, visibility .25s;
    visibility: hidden;
    opacity: 0;
    left: -99999px;
    background: #fff;
}
.right-icon .search_header.dropdown .search__form {
    left: auto;
	opacity: 1;
    visibility: visible;
	right: 0;
}
.search__form form.search-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search__form form.search-form input {
    height: 32px;
    border: 1px solid #ccc;
	border-right: none;
    padding: 0px 10px;
	min-width: 200px;
}
.search__form form.search-form button.search-submit {
    height: 32px;
    border: 1px solid #162b75;
    background: #162b75;
    color: #fff;
    padding: 0 8px;
}
.search__form form.search-form button.search-submit:hover {
	background: #c48429;
	border-color: #c48429;`
}

/**** STYLE HOME PAGE ****/

body.home div#primary {
    padding: 20px 0;
}
section.section_home + section {
    margin-top: 35px;
}
section.slide-home {
    display: flex;
}
section.slide-home .widget_category {
    flex: 0 0 300px;
    max-width: 300px;
}
section.slide-home .main-slider {
    flex: 0 0 calc(100% - 300px);
    max-width: calc(100% - 300px);
    padding-left: 20px;
}
.main-slider img {
    width: 100%;
}
section.slide-home ul.content-widget li {
    padding: 10px 15px;
    font-size: 16px;
}
section.slide-home ul.content-widget li a {
    font-size: 16px;
}
ul.slick-dots {
    bottom: 15px;
}
ul.slick-dots li button {
    width: auto;
    height: auto;
}
ul.slick-dots li button:before {
    line-height: 12px;
    width: 12px;
    height: 12px;
    opacity: 1;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
    border: 1px solid #fff;
    font-size: 0;
}
ul.slick-dots li.slick-active button:before {
    background: rgba(255,255,255,1);
    opacity: 1;
}
ul.slick-dots li {
    margin: 0 3px;
}
.slider_home {
    margin: 0!important;
}
.slider_home .slick-arrow {
    z-index: 99;
}
.slider_home .slick-next {
    right: 15px;
}
.slider_home .slick-prev {
    left: 15px;
}
.slider_home .slick-next, .slider_home .slick-prev {
    width: auto;
    height: auto;
}
.slider_home .slick-next:before,.slider_home .slick-prev:before {
    font-size: 26px;
}
section.section_home.post-featured {
    margin-top: 15px;
}
.inner_featured, .inner_featured .list-right { 
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 10px;
}
.inner_featured article, .inner_featured .post-thumbnail {
    position: relative;
}
.inner_featured .post-thumbnail {
    position: relative;
}
.inner_featured .post-thumbnail a {
    position: relative;
    display: block;
    overflow: hidden;
    padding-bottom: calc(0.7 * 100%);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.inner_featured .post-thumbnail img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}
.inner_featured .post-thumbnail:hover img {
    transform: scale(1.1);
}
.inner_featured .post-grid-content, .big-post .post-content {
    padding: 15px;
    position: absolute;
    background: linear-gradient(to bottom,rgba(0,0,0,.1),rgba(0,0,0,.8));
    bottom: 0;
    width: auto;
    z-index: 2;
    left: 0;
    right: 0;
}
.inner_featured .post-grid-content .title, .big-post .post-content .title {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
}
.inner_featured .post-grid-content h5 a, .big-post .post-content .title a {
    display: block;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}
.inner_featured .list-left .post-grid-content h5 a, .big-post .post-content .title a {
    font-size: 24px;
}
.inner_featured .post-grid-content h5 a:hover, .big-post .post-content .title a:hover {
    text-decoration: underline;
}
.section_home .heading-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #162b75;
}
section.section_home:nth-child(2n) .heading-section {
    border-color: #f39817;
}
.section_home .heading-section h2 {
    color: rgb(255, 255, 255);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    margin: 0px;
    background: #162b75;
    padding: 8px 20px 6px;
    border-radius: 3px 3px 0 0;
}
section.section_home:nth-child(2n) .heading-section h2 {
    background: #f39817;
}
.section_home .heading-section a {
    color: rgb(0, 0, 0);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}
.section_home .heading-section a:hover {
    color: #f39817;
    text-decoration: underline;
}
.category-posts {
    margin-top: 10px;
}
.list-cat-post {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}
.list-cat-post + .list-cat-post {
    margin-top: 20px;
}
.list-cat-post article.post {
    position: relative;
}
.other-post article.post {
    display: flex;
}
.other-post article.post .post-thumbnail {
    flex: 0 0 170px;
    max-width: 170px;
}
.other-post article.post .post-grid-content {
    flex: 0 0 calc(100% - 170px);
    max-width: calc(100% - 170px);
    padding-left: 15px;
}
.other-post article.post h5, section.news article.post h5 {
    margin: 0 0 10px;
}
section.news article.post h5 {
    margin-top: 10px;
}
.other-post article.post h5 a, section.news article.post h5 a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}
.other-post article.post h5 a:hover, section.news article.post h5 a:hover {
    color: #162b75;
}
section.news .category-posts {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 20px;
}

/**** STYLE CONTENT ****/
div#primary {
    padding: 40px 0;
}
.list_post {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-row-gap: 25px;
    grid-column-gap: 20px;
}
.related-posts-list.list_post {
    grid-template-columns: repeat(4, 1fr);
}
.content-with-sidebar .main_content .container {
    display: flex;
}
.content-with-sidebar main {
    flex: 0 0 calc(100% - 250px);
    max-width: calc(100% - 250px);
}
.content-with-sidebar aside.sidebar {
    flex: 0 0 250px;
    max-width: 250px;
    padding-left: 30px;
}
aside.sidebar .widget + .widget {
    margin-top: 20px;
}
.content-with-sidebar .page-header .container {
	display: block;
}
.list_post article {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
    transition: transform 0.3s,box-shadow 0.3s;
}
article .post-thumbnail, .content-block {
    position: relative;
}
article .post-thumbnail a {
    position: relative;
    display: block;
    overflow: hidden;
    padding-bottom: calc(0.7 * 100%);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
article .post-thumbnail img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}
article.post .post-thumbnail:hover img {
    transform: scale(1.1);
}
.list_post .post-content {
    padding: 15px;
    flex-grow: 1;
}
.list_post h5.title {
    margin: 0 0 10px;
    transition: color 0.3s;
}
.list_post h5.title a {
    text-decoration: none;
	color: #162b75;
    font-size: 16px;
    font-weight: 600;
}
.list_post article:hover h5.title a {
    color: #c48429;
}
.list_post .short-desc {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
	text-align: justify;
}
.short-desc p {
    margin: 0;
    font-size: 14px!important;
}
aside.sidebar .acf-gallery {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 15px;
}
.title-widget {
    background: #162b75;
    color: #fff;
    padding: 12px 15px 10px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: left;
}
.content-widget {
    border: 1px solid #ccc;
}
ul.content-widget {
    padding: 0;
    margin: 0;
    list-style: none;
    border: 1px solid #ccc;
}
ul.content-widget li {
    padding: 6px 10px;
}
ul.content-widget li + li {
    border-top: 1px solid #ccc;
}
ul.content-widget li a {
    font-weight: bold;
    color: #162b75;
    text-decoration: none;
}
ul.content-widget li a:hover {
    color: #c48429;
}
.page-header h1.page-title, header.entry-header h1.entry-title {
    font-size: 28px;
    color: #333;
    margin: 10px 0 15px;
    font-weight: 700;
    text-align: center;
}
header.entry-header h1.entry-title {
    text-align: left;
    flex: 0 0 100%;
    max-width: 100%;
}
.ahawebsite-pagination {
    text-align: center;
    margin: 30px 0 15px;
}
.ahawebsite-pagination-inner {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ahawebsite-pagination .page-item {
    margin: 0 2px;
}
.ahawebsite-pagination .page-link {
    display: block;
    padding: 10px 15px;
    margin: 0;
    text-decoration: none;
    color: #c48429;
    border: 1px solid #e0e0e0;
    transition: background-color 0.3s,color 0.3s;
}
.ahawebsite-pagination .page-item.active .page-link, .ahawebsite-pagination .page-link:hover {
    background-color: #c48429;
    color: #fff;
    cursor: default;
	border-color: #c48429;
	cursor: pointer;
}
.form_contact_post {
    margin: 30px 0 10px;
}
.inner_form_contact {
    background: #162b75;
    color: #fff;
    padding: 40px 40px 20px;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}
.content_post a {
    color: #162b75;
}
.content_post a:hover {
    color: #c48429;
}
.form_contact_post h4 {
    font-size: 22px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 10px;
}
.form_contact_post span {
    display: block;
    text-align: center;
    font-style: italic;
}
.form_contact_post .line_form2 p {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 15px;
}
.form_contact_post .line-form input, .form_contact_post .line-form textarea {
    width: 100%;
    padding: 8px 10px;
    height: 36px;
    border: none;
    border-radius: 4px;
    color: #000;
}
.form_contact_post .line-form textarea {
    height: 80px;
}
.form_contact_post input.wpcf7-submit {
    width: 100%;
    height: 36px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 36px;
    border: none;
}
.form_contact_post input.wpcf7-submit:hover {
    background: #c48429;
    color: #fff;
    cursor: pointer;
}
section.related-posts h2 {
    font-size: 20px;
    margin: 0;
    border-top: 1px solid #ccc;
    padding: 20px 0 15px;
}
.search .page-header h1.page-title span {
    font-size: 28px;
    color: #162b75;
    margin: 10px 0 15px;
    font-weight: 700;
    text-align: center;
}

/**** STYLE FOOTER ****/

footer {
    background: #162b75;
	color: #fff;
}
footer a {
	color: #fff;
	text-decoration: none;
}
footer a:hover {
	opacity: 0.8;
}
footer .title_item {
    color: #f39817;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}
.top-footer {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 40px 0;
	grid-row-gap: 20px;
	grid-column-gap: 20px;
}
.logo-footer img {
    max-width: 180px;
}
.item-footer ul {
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
}
ul.info_ li {
    display: flex;
    align-items: center;
}
ul.info_ li + li, .item-footer ul.menu li + li {
	margin-top: 10px;
}
ul.info_ li .icon_ {
    margin-right: 5px;
    display: inline-block;
    width: 18px;
    text-align: left;
}
ul.social-footer li {
    display: inline-block;
    font-size: 28px;
}
ul.social-footer li + li {
	margin-left: 5px;
}
ul.social-footer li a {
    font-size: 32px;
}
ul.social-footer li a:hover {
	color: #c48429;
	opacity: 1;
}
.bottom-footer.site-info {
    background: #c48429;
    padding: 10px 0;
    border: none;
	text-align: center;
}
.bottom-footer.site-info p {
    margin: 0;
}
iframe {
    max-width: 100%;
}
figure {
    max-width: 100%;
    margin-bottom: 10px!important;
}
figure figcaption {
    background: #ebebeb;
    padding: 5px 10px;
    text-align: center;
}
.content_post h1 {
    font-size: initial;
}
blockquote, dl, figure, form, ol, p, pre, ul {
    margin: 0 0 1.2sem;
}
.content_post ul {
    padding-left: 15px;
}
#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#popup-box {
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    animation: popupFade 0.4s ease;
}
#popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}
#popup-overlay .inner_form_contact {
    background: #fff;
    color: #333;
}
#popup-overlay .form_contact_post .line-form input, #popup-overlay .form_contact_post .line-form textarea {
    border: 1px solid #cccc;
}
#popup-overlay .form_contact_post input.wpcf7-submit {
    background: #162b75;
    color: #fff;
}
#popup-overlay .form_contact_post {
    margin: 0;
}
#popup-overlay span#popupClose {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    background: #162b75;
    color: #fff;
    border-radius: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#popup-overlay span#popupClose:hover {
    background: #c48429;
}
#popup-overlay .form_contact_post h4 {
    color: #162b75;
    margin: 0;
}
#popup-overlay .form_contact_post span {
    font-size: 14px;
}
@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/**** RESPONSIVE ****/

@media (max-width: 1300px) {
    .container {
        max-width: 94%;
    }
    .right-icon {
        padding-left: 20px;
    }
    .site-branding img {
        max-height: 55px;
    }
    .logo-footer img {
        max-width: 150px;
    }
    .inner_featured .list-left .post-grid-content h5 a, .big-post .post-content .title a {
        font-size: 22px;
    }
    .page-header h1.page-title, header.entry-header h1.entry-title {
        font-size: 24px;
        margin: 10px 0 15px;
    }
}

@media (max-width: 1024px) {
    button.menu-toggle {
        display: block;
        background: #162b75;
        color: #fff;
        border: none;
        padding: 4px 8px;
        border-radius: 4px;
    }
    button.menu-toggle span {
        font-size: 18px;
    }
    section.slide-home .widget_category {
        flex: 0 0 240px;
        max-width: 240px;
    }
    section.slide-home .main-slider {
        flex: 0 0 calc(100% - 240px);
        max-width: calc(100% - 240px);
        padding-left: 10px;
    }
    section.slide-home ul.content-widget li {
        padding: 6px 10px;
        font-size: 16px;
    }
    section.section_home + section {
        margin-top: 25px;
    }
    .header-right {
        justify-content: flex-end;
    }
    ul#primary-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        width: 0;
    }
    ul#primary-menu.active {
        max-height: inherit;
        overflow: inherit;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #333;
        padding: 10px 0 20px;
        z-index: 9999;
        width: auto;
    }
    ul#primary-menu li {
        display: block;
    }
    ul#primary-menu li + li {
        margin-left: 0;
        border-top: 1px solid #ebebeb;
    }
    ul#primary-menu li a {
        display: block;
        color: #fff;
        padding: 10px 20px;
    }
    section.slide-home ul.content-widget li a {
        font-size: 16px;
    }
    .title-widget {
        padding: 10px 15px;
        font-size: 16px;
    }
    .inner_featured .list-left .post-grid-content h5 a, .big-post .post-content .title a {
        font-size: 18px;
    }
    .section_home .heading-section h2 {
        font-size: 16px;
    }
    .section_home .heading-section a {
        font-size: 16px;
    }
   .other-post article.post h5, section.news article.post h5 {
        margin: 0 0 8px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
    }
    .short-desc {
        font-size: 13px;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
    }
    .other-post article.post .post-thumbnail {
        flex: 0 0 150px;
        max-width: 150px;
    }
    .other-post article.post .post-grid-content {
        flex: 0 0 calc(100% - 150px);
        max-width: calc(100% - 150px);
        padding-left: 10px;
    }
    section.section_home.news .post-thumbnail {
        margin-bottom: 10px;
    }
    .inner_featured .post-grid-content h5 a {
        font-size: 16px;
    }
    .top-footer {
        grid-column-gap: 15px;
    }
    .list_post {
        grid-row-gap: 20px;
        grid-column-gap: 15px;
    }
    .list_post .post-content {
        padding: 10px;
    }
    .content-with-sidebar aside.sidebar {
        padding-left: 20px;
    }
    div#primary {
        padding: 20px 0;
    }
}
@media (max-width: 1023px) {
    section.slide-home .widget_category, .content-with-sidebar aside.sidebar {
        display: none;
    }
    section.slide-home .main-slider,.content-with-sidebar main {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    section.news .category-posts {
        grid-column-gap: 15px;
    }
    figure {
        width: 100%!important;
    }
}
@media (max-width: 768px) {
    .inner_featured {
        grid-template-columns: repeat(1,1fr);
        grid-gap: 15spx;
    }
    .inner_featured .list-right {
        grid-template-columns: repeat(2,1fr);
    }
    .other-post article.post .post-thumbnail {
        flex: 0 0 100px;
        max-width: 100px;
    }
    .other-post article.post .post-grid-content {
        flex: 0 0 calc(100% - 100px);
        max-width: calc(100% - 100px);
        padding-left: 10px;
    }
    section.news .category-posts, .top-footer {
        grid-template-columns: repeat(2,1fr);
    }
    .top-footer {
        grid-template-areas: "b c"
                "a d";
        grid-row-gap: 35px;
    }
    .item-ft-1 {
        grid-area: a;
    }
    .item-ft-2 {
        grid-area: b;
    }
    .item-ft-3 {
        grid-area: c;
    }
    .item-ft-4 {
        grid-area: d;
    }
    .list_post, .related-posts-list.list_post {
        grid-template-columns: repeat(2,1fr);
    }
    .inner_form_contact {
        padding: 25px 30px 20px;
    }
    ul.slick-dots {
        bottom: 10px;
    }
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    .ahawebsite-pagination .page-link {
        padding: 6px;
    }
    .search-results .page-header h1.page-title span {
        font-size: 22px;
    }
}

@media (max-width: 548px) {
    ul.slick-dots {
        bottom: 6px;
    }
    .list-cat-post {
        column-gap: 10px;
    }
    .inner_featured .list-left .post-grid-content h5 a, .big-post .post-content .title a {
        font-size: 16px;
    }
    .other-post article.post .post-thumbnail {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .other-post article.post .post-grid-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    .other-post article.post {
        display: initial;
    }
    .inner_featured .post-grid-content, .big-post .post-content {
        padding: 10px;
    }
    .other-post article.post h5 {
        margin: 10px 0;
    }
    .list-cat-post + .list-cat-post {
        margin-top: 10px;
    }
    section.news .category-posts {
        grid-column-gap: 10px;
    }
    .list_post {
        grid-column-gap: 10px;
    }
    .page-header h1.page-title, header.entry-header h1.entry-title {
        font-size: 20px;
        margin: 10px 0;
    }
    .other-post article.post h5, section.news article.post h5 {
        margin: 0 0 4px;
    }
    .other-post article.post h5 {
        margin: 6px 0 8px;
    }
    .other-post article.post h5 a, section.news article.post h5 a {
        font-size: 16px;
    }
    .short-desc p {
        font-size: 13px!important;
        line-height: 1.3!important;
    }
    .search-results .page-header h1.page-title span {
        font-size: 18px;
    }
    .content_post h2, .content_post h1 {
        font-size: initial;
    }
}
@media (max-width: 414px) {
    .inner_featured .list-right, .list-cat-post,section.news .category-posts, .top-footer,
    .list_post, .related-posts-list.list_post {
        grid-template-columns: repeat(1,1fr);
    }
    .section_home .heading-section h2 {
    font-size: 16px;
    padding: 8px 12px 6px;
}
.top-footer {
    grid-template-areas: "b"
    "c"
                "a"
                 "d";
    grid-row-gap: 35px;
}
}