/* 
* Header
 */

.has-url{
	cursor:pointer;
}

.header-inner {
    gap: 24px;
    padding: 36px 0;
}

.header-logo > a {
    line-height: 1;
    display: inline-flex;
    vertical-align: middle;
}

.nav-container {
    margin-left: auto;
    margin-right: 0;
}

#menu-primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-ibm);
    font-size: 16px;
    font-weight: 500;
    gap: 16px;
}

#menu-primary-menu li {
    list-style: none;
    position: relative;
}

#menu-primary-menu > li::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: var(--white);
}

#menu-primary-menu > li:nth-child(1)::after {
    background-color: var(--red);
}

#menu-primary-menu > li:nth-child(2)::after {
    background-color: var(--pink);
}

#menu-primary-menu > li:nth-child(3)::after {
    background-color: var(--green);
}

#menu-primary-menu > li:nth-child(4)::after {
    background-color: var(--purple);
}

#menu-primary-menu > li:nth-child(5)::after {
    background-color: var(--blue);
}

#menu-primary-menu > li:nth-child(6)::after {
    background-color: var(--bondi-blue);
}

#menu-primary-menu > li:nth-child(7)::after {
    background-color: var(--fire-opal);
}

#menu-primary-menu.expanded > li:not(.active)::after{
    background-color: var(--white);
}

#menu-primary-menu li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

#menu-primary-menu li a {
    text-decoration: none;
}

#menu-primary-menu .menu-item-has-children > a::after {
    content: url('../img/down-arrow.svg');
}

#menu-primary-menu .sub-menu {
    position: absolute;
    left: 0;
    top: 40px;
    z-index: 99;
    background: var(--white);
    padding: 0 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 15%);
    margin: 0;
    width: 211px;
    display: none;
}

#menu-primary-menu .sub-menu li a {
    padding: 15px 0;
    display: block;
    line-height: 1;
    border-bottom: 1px solid #e0e0e0;
}

#menu-primary-menu .sub-menu > li:last-child a {
    border: none;
}

.header .social-links {
    gap: 10px;
}

.header .social-links a {
    line-height: 1;
}

.header .social-links a img {
    line-height: 1;
}




/* hamburger icon  */
.hamburger{
  width:23px;
  height:20px;
  position:relative;
  background:transparent;
  border:none;
  cursor:pointer;
  display: none;
}

.hamburger span{
  position:absolute;
  left:0;
  width:23px;
  height:3px;
  background:#F4003D;
  border-radius:50px;
  transition:0.3s;
}

.hamburger span:nth-child(1){
    top:0px; 
}
.hamburger span:nth-child(2){ 
    top:7px; 
}
.hamburger span:nth-child(3){ 
    top:14px; 
}


.hamburger.active span:nth-child(1){
  top:8px;
  transform:rotate(45deg);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  top:8px;
  transform:rotate(-45deg);
}


.mobile_menu{
    display: none;
}

img.submenu_right_arraw {
    display: none;
}

/* 
* Homepage: highlight slider
*/
#highlights-news-slider .owl-stage-outer{
    border-radius: 36px;
}

#highlights-news-slider .owl-item {
    border-radius: 36px;
}

#highlights-news-slider .news-item {
    aspect-ratio: 100 / 65;
    position: relative;
    border-radius: 36px;
}

#highlights-news-slider .news-item .news-item-inner {
    padding: 24px 28px 50px;
    /* min-height: 198px; */
    background: linear-gradient(
        180deg,
        rgba(16, 16, 16, 0) 0%,
        rgba(5, 17, 41, 1) 49%
    );
    z-index: 1;
    border-radius: 0 0 36px 36px;
}

.fullwidth-img-bg-slider .news-item-meta {
    margin-bottom: 8px;
}
#highlights-news-slider .news-item .cat-label {
    font-size: 16px;
    padding: 4px 14px;
    border-radius: 17px;
}

#highlights-news-slider .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#highlights-news-slider .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    background: var(--white);
    display: block;
    border-radius: 8px;
    opacity: 0.2;
}

#highlights-news-slider .owl-dots .owl-dot.active span {
    opacity: 1;
}

.post_date {
    font-family: var(--font-ibm);
}





/* 
* Homepage: ads 1
*/

.innn-home-ads-banner_id-1 div#adop_sticky {
    position: relative !important;
    z-index: 9 !important;
}

.dummy-ads {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background-color: var(--gray);
    line-height: 0;
}
.innn-home-ads-banner_id-1 * {
    width: 100% !important;
}


/* 
* Homepage: news wrapper
*/
.inn-latest-posts-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.inn-latest-posts-wrapper.columns-1 {
    justify-content: flex-start;
    flex-direction: column;
}

.inn-latest-posts-wrapper.columns-2 .news-item {
    width: calc(50% - 12px);
}


.inn-latest-posts-wrapper:not(.inn-video-posts-wrapper) .news-item:not(.news-item-highlight){
    display: grid;
    grid-template-columns: 120px 1fr;
}

.inn-latest-posts-wrapper .news-item.news-item-highlight {
    width: 100%;
    border-radius: 36px;
    aspect-ratio: 100 / 51;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.inn-latest-posts-wrapper.columns-1 .news-item.news-item-highlight {
    aspect-ratio: 100 / 106;
}

.news-item.news-item-highlight .news-item-content {
    padding: 24px 28px;
    background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, rgba(5, 17, 41, 1) 49%);
    z-index: 1;
    border-radius: 0 0 36px 36px;
    width: 100%;
}

.inn-latest-posts-wrapper .news-item .news-item-thumb img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    object-fit: cover;
}

.inn-latest-posts-wrapper.inn-video-posts-wrapper {
    display: grid;
    grid-template-columns: 792px 1fr;
    gap: 24px;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "main-video sub-video1"
        "main-video sub-video2";
}

.inn-latest-posts-wrapper.inn-video-posts-wrapper > :nth-child(2) {
    grid-area: sub-video1;
    border-radius: 24px;
}

.inn-latest-posts-wrapper.inn-video-posts-wrapper > :last-child {
    grid-area: sub-video2;
    border-radius: 24px;
}

.inn-latest-posts-wrapper.inn-video-posts-wrapper .news-item:not(.news-item-highlight ){
    aspect-ratio: 100 / 64;
}

.news-item.has-bg.for-desk{
    border-radius: 24px;
}

.news-item.has-bg.for-desk.news-item-highlight {
    border-radius: 36px;
}


.inn-latest-posts-wrapper.inn-video-posts-wrapper .news-item.news-item-highlight {
    aspect-ratio: 100 / 65;
    grid-area: main-video;
}

.inn-latest-posts-wrapper.inn-video-posts-wrapper .news-item:not(.news-item-highlight ) .news-item-content {
    padding: 16px 28px;
    background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, rgba(5, 17, 41, 1) 49%);
    z-index: 1;
    border-radius: 0 0 24px 24px;
    width: 100%;
}

.news-item-highlight{
    cursor:pointer;
}
.news-item-highlight .post-title {
    line-height: 1.4;
}
a.has-arrow.arrow-right {
    color: #101010;
}

a.has-arrow.arrow-right.white {
    color: #fff;
}


/*
** Pagination
*/
.pagination-wrapper .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.nav-links .page-numbers:not(.dots) {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #101010;
    color: #101010;
    font-family: var(--font-ibm);
    font-size: 16px;
    transition: all .2s linear;
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:not(.dots):hover {
    background-color: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.nav-links .page-numbers.placeholder {
	opacity: 0.15;
}




/*
** Category Landing
*/
.category-landing #highlights-news-wrapper {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.category-landing #highlights-news-slider .news-item {
    aspect-ratio: 100 / 40;
}

/*
** Category Post listing
*/
.category-posts-wrapper .news-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}
.category-posts-wrapper .news-item-link img:not(.vd-play-btn) {
    aspect-ratio: 384 / 294;
    border-radius: 24px;
    object-fit: cover;
    background: #0a296a0f;
    width: 100%;
}

.pagination-add-wrap {
	width: 100%;
}



/* Sub category list link */
body.category-news .category-header__subcats-list a:hover {
    color: var(--red);
}
body.category-entertainment .category-header__subcats-list a:hover {
    color: var(--pink);
}
body.category-horoscope .category-header__subcats-list a:hover {
    color: var(--purple);
}
body.category-lifestyle .category-header__subcats-list a:hover {
    color: var(--green);
}
body.category-video .category-header__subcats-list a:hover {
    color: var(--bondi-blue);
}
body.category-lottery .category-header__subcats-list a:hover {
    color: var(--blue);
}

.page-template-category-video section#section__category-news-block-5.my-120 .tt-upper {
    font-size: 22px;
}

.page-template-category-ruam-duay section#section__category-news-block-5 .tt-upper {
    font-size: 22px;
}

/* 
**  Single post
*/
.single-news-featured-bg {
    border-radius: 36px;
    position: relative;
    aspect-ratio: 100 / 52;
    padding: 20px;
}

.single-news-featured-bg::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 36px;
}

.single-news-featured-bg .single-news-banner-title {
    font-size: 48px;
    max-width: 1000px;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    font-family: var(--font-ibm);
    box-shadow: 0 4 4 0 rgba(0, 0, 0, 0.25);
}


.innn-social-sharing ul {
    list-style: none;
    margin: 40px 0;
    padding: 0;
}

.single-post_related-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.single-post_related-news .news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
}

.single-post_related-news .news-item .news-item-link img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 24px;
}
.single-news-body-content a {
    color: var(--red);
}
.single-news-body-content img {
    border-radius: 24px;
    width: 100%;
}
.single-news-body-content > img {
    margin: 40px auto;
}
.single-news-body-content p {
	margin-top: 0;
}
.single-news-body-content p:has(img){
	margin: 0;
}

.single-news-body-content p img {
	margin: 0 auto 40px;
}
.single-news-body-content iframe {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    margin: 24px auto;
}
.single-news-body .post_date {
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0.5px;
    color: #737373;
}


/* Single Post Gallery */
.post_gallery {
    width: 100%;
    margin-top: 40px;
}
.post_gallery img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    aspect-ratio: 9 / 6;
    margin-bottom: 20px;
}
.post_gallery_thumb .img-con {
    width: 100%;
    padding: 0 10px;
}
.post_gallery_thumb img {
    border-radius: 8px;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}


/* social media content gap */
.single-news-body-content p.p1:not(:has(text)) {
    margin: 0;
}

/* 
* Footer
*/
.footer {
    position: relative;
    overflow: hidden;
}

.footer .container{
    position: relative;
    z-index: 9;
}

.footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 480px;
    height: 480px;
    background: var(--red);
    z-index: 1;
    border-radius: 50%;
    transform: translate(-50%, 50%);
}

.footer-inner {
    padding: 80px 0;
    gap: 80px;
    align-items: stretch;
}

.footer .social-links {
    gap: 24px;
}

.footer .social-links a svg path,
.footer .social-links a svg path rect {
    transition: all .25s linear;
}

.footer .social-links a:not(.line):hover svg path {
    fill: var(--red) !important;
}

.footer .social-links a.line:hover svg rect {
    fill: var(--red) !important;
}

.footer-company-info {
    gap: 45px;
}

.footer-company-info a {
    text-decoration: none;
}

.footer .contact-info {
    gap: 14px;
}

.footer-nav-container {
    gap: 100px;
}

.footer-nav-container .menu {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-container .menu li a {
    font-size: 14px;
    color: var(--white);
    font-family: var(--font-ibm);
    text-decoration: none;
    font-weight: 400;
}

.footer-nav-container .menu li a:hover {
    color: var(--red);
}

.footer-copyright {
    font-size: 12px;
}

.to-top svg circle {
    transition: all .25s linear;
}

.to-top:hover svg circle {
    fill: #c10030 !important;
}

.footer-copyright-mobile {
    display: none;
}

.footer_logo_arrow{
    display: none;
}

.slider_menu-hero{
    display: none;
}

    /* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
    ** About Ruam Duay
    ** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

    .page-template-about-ruam-day section#section__hero .news-heading img{
        display: none;
    }
    .page-template-about-ruam-day section#section__hero .news-heading span{
        color: #EA5C58;
    }

    .page-template-about-ruam-day div#section__hero_banner{
        border-radius: 36px;

    }
    .page-template-about-ruam-day div#section__hero_banner img{
        border-radius: 36px;
        aspect-ratio: 1200 / 600;
        object-fit: cover;
    }

	.page-template-about-ruam-day section#section__content .container {
		padding-top: 60px;
		padding-bottom: 120px;
		display: flex;
		flex-direction: column;
		gap: 40px;
		max-width: 1000px;
	}
	.page-template-about-ruam-day section#section__content h1 {
		text-align: center;
		font-size: 36px;
	}
	.page-template-about-ruam-day section#section__content h1 span{
		color: #EA5C58;
	}

	.page-template-about-ruam-day section#section__content p{
		margin:0;
	}
	.ruam_upper_content {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.page-template-about-ruam-day section#section__content h4 {
		color: #0A296A;
	}

	.ruam_upper_content_img {
		border-radius: 24px;
		overflow: hidden;
		line-height: 0;
	}

	.ruam_upper_content_img img {
		aspect-ratio: 1000 / 306;
		border-radius: 24px;
        object-fit: cover;
	}

	.page-template-about-ruam-day ol li {
		list-style: none;
        font-weight: 500;
	}
    .page-template-about-ruam-day ul li{
        font-weight: 500;
    }


	.page-template-about-ruam-day ol {
		padding-left: 8px;
	}

	.page-template-about-ruam-day ul {
		padding-left: 31px;
	}

	 
	.page-template-about-ruam-day ol p{
		margin-left: -8px !important;
	}

	.page-template-about-ruam-day ul p{
		margin-left: -31px !important;
	}

	.ruam_content_2 div ol:last-child {
		margin: 0;
	}
	.ruam_content_last {
		display: grid;
		grid-template-columns: 134px 1fr;
		gap: 36px;
        align-items: center;
	}
	.ruam_content_last_content_part {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}
	.ruam_content_last .image_part {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}
	.ruam_content_last .image_part a {
		padding: 6px 20px;
		border-radius: 500px;
		background: #0A296A;
		color: #fff;
		font-size: 14px;
		font-weight: 600;
		font-family: var(--font-ibm);
		display: flex;
		align-items: center;
		gap: 6px;
	}
	.ruam_content_last .image_part a::after {
		content: '';
		background-image: url(http://web2.innnews.co.th/wp-content/uploads/2025/12/ic_round-download.svg);
		width: 24px;
		height: 24px;
		display: inline-block;
	}



@media only screen and (max-width: 1100px) {

    /* ---------------------------------------------------------------------
    ----------Header Responsive---------------------------------------------
    -----------------------------------------------------------------------  */

    body.no-scroll {
        overflow: hidden;
    }

    .header_content{
        position: relative;
    }

    .hamburger{
        display: flex;
    }

    .mobile_menu{
        display: flex;
        flex-direction: column;
        gap: 24px;
        justify-content: space-between;
        align-items: flex-start;
        height: 0;
        padding: 0 24px;
        opacity: 0;
        transition: all 0.4s linear;
        position: fixed;
        width: 100%;
        z-index: 9999;
        background: #fff;
        overflow-y: auto;
    }

    .mobile_menu.active{
        padding: 24px;
        height: calc(100vh - 100px);
        opacity: 1;
    }

    .mobile_menu_form_menu{
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
        transition: all 0.3s linear;
        /* width: 100%;
        z-index: 9999;
        background: #fff; */
    }

    .mobile_menu_form_menu.active{
        gap: 16px;
    }

    .mobile_menu .menu{
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 0;
        order: 3;
    }


    .mobile_menu .nav-container {
        order: 3;
    }

    .mobile_menu .social-links{
        order: 4;
        gap: 24px;
    }

    .mobile_menu .menu ul.sub-menu{
        margin: 0;
        padding: 0;
        padding-top: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile_menu .menu ul.sub-menu li a{
        line-height: auto;
        font-weight: 500;
        color: #101010;
        font-family: var(--font-ibm);
        font-size: 14px;
    }

    img.submenu_right_arraw {
        display: flex;
        cursor: pointer;
		width: 7px;
        margin-top: -2px;
    }

    .header .nav-container,
    .header .social-links{
        display: none;
    }
    
    

    .mobile_menu ul li{
        list-style: none !important; 
    }

    .mobile_menu .nav-container {
        margin-left: 0;
    }

    .mobile_menu form.wp-search-box {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #EFEFEF;
        border-radius: 4px;
        order: 1;
        width: 100%;
    }
    .mobile_menu form.wp-search-box input,
    .mobile_menu form.wp-search-box button {
        border: none;
        outline: none;
        background-color: transparent;
    }
    .mobile_menu form.wp-search-box button {
        background: none;
        padding: 0;
    }

    .mobile_menu form.wp-search-box input{
        width: 100%;
        text-align: center;
    }

    .mobile_menu form.wp-search-box input[type="text"]::placeholder {
        font-size: 14px;
        font-weight: 500;
        font-family: var(--font-ibm);
        color: #919090;
    }


    .summenu_img_a {
        display: flex;
        gap: 8px;
        align-items: center;
        max-width: max-content;
        position: relative;
    }

    .summenu_img_a a{
        text-transform: uppercase;
        line-height: auto;
        font-weight: 500;
        color: #101010;
        font-family: var(--font-ibm);
    }

    .mobile_menu ul#menu-primary-menu-1 > li .summenu_img_a::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background-color: var(--white);
        position: absolute;
        left: 0;
        bottom: -3px;
    }

    .mobile_menu ul#menu-primary-menu-1 > li:nth-child(1) .summenu_img_a::after {
        background-color: var(--red);
    }

    .mobile_menu ul#menu-primary-menu-1 > li:nth-child(2) .summenu_img_a::after {
        background-color: var(--pink);
    }

    .mobile_menu ul#menu-primary-menu-1 > li:nth-child(3) .summenu_img_a::after {
        background-color: var(--green);
    }

    .mobile_menu ul#menu-primary-menu-1 > li:nth-child(4) .summenu_img_a::after {
        background-color: var(--purple);
    }

    .mobile_menu ul#menu-primary-menu-1 > li:nth-child(5) .summenu_img_a::after {
        background-color: var(--blue);
    }

    .mobile_menu ul#menu-primary-menu-1 > li:nth-child(6) .summenu_img_a::after {
        background-color: var(--bondi-blue);
    }

    .mobile_menu ul#menu-primary-menu-1 > li:nth-child(7) .summenu_img_a::after {
        background-color: var(--fire-opal);
    }



    .menu-back-btn {
        color: #101010;
        font-size: 14px;
        font-weight: 500;
        line-height: normal;
        font-family: var(--font-ibm);
        order: 2;
        cursor: pointer;
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .menu-back-btn::before {
        content: "";
        display: inline-block;
        width: 7px;
        height: 10px;
        background-image: url('../img/right_arraw_black.svg');
        background-size: contain;
        background-repeat: no-repeat;
        transform: rotate(180deg);
        vertical-align: middle;
    }





    .input-wrapper {
        position: relative;
        width: 100%;
    }

    .text-size-check {
        position: absolute;
        visibility: hidden;
        white-space: pre;
        font-size: 14px;
        padding-left: 8px;
    }

    .wp-search-box input {
        width: 100%;
        padding: 8px 40px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .search-btn {
        position: absolute;
        top: 50%;
        left: calc(50% + 28px);
        transform: translate(-50%, -50%);
        border: none;
        background: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

     /* ---------------------------------------------------------------------
    ---------- Footer Responsive---------------------------------------------
    -----------------------------------------------------------------------  */


    .footer-inner {
        gap: 25px;
    }

    .footer-nav-container {
        gap: 50px;
    }

    /* ---------------------------------------------------------------------
    ----------category Responsive---------------------------------------------
    -----------------------------------------------------------------------  */

    /* .container.fl:has(.col-two-third){
        flex-wrap: wrap;
    } */
    /* .container .col-two-third {
        max-width: 100%;
    }

    .container .col-one-third {
        max-width: 100%;
    } */

    /* .news-heading {
        justify-content: center;
    }

    .container:has(.col-one-third:nth-of-type(3)) {
        flex-wrap: wrap;
    }

    .container:has(.col-one-third:nth-of-type(3)) .col-one-third:nth-child(1),
    .container:has(.col-one-third:nth-of-type(3)) .col-one-third:nth-child(2){
        max-width: calc(50% - 24px);
    }

    .container:has(.col-one-third:nth-of-type(3)) .col-one-third:nth-child(3){
        max-width: 100%;
    }

    .inn-latest-video-wrapper .news-item {
        min-height: 320px;
    } */






    /* ---------------------------------------------------------------------
    ----------Home page Responsive---------------------------------------------
    -----------------------------------------------------------------------  */

    .inn-latest-posts-wrapper.inn-video-posts-wrapper {
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "main-video main-video"
            "sub-video1 sub-video2";
    }


}

@media only screen and (max-width: 998px) {
    /* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
    ** Homepage
    ** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */
    #section__homepage-news-block-3 .container {
        flex-wrap: wrap;
    }
    #section__homepage-news-block-3 .col-one-third {
        max-width: calc(50% - 12px);
    }
    /* .container:has(.col-one-third:nth-of-type(3)) {
        flex-wrap: wrap;
    } */


    /* highlight section */
    #highlights-news-slider .news-item,
    .news-item.news-item-highlight,
    .inn-latest-posts-wrapper .news-item.news-item-highlight {
        aspect-ratio: 312/246 !important;
        height: auto;
        object-fit: cover;
    }



    /* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
    ** Category Page
    ** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

    .slick-list .separator {
        display: none !important;
    }
    .category-header__subcats-list{
        width: calc(100% - 80px);
        transform: translateX(40px);
    }

    .category-header__subcats-list a{
        height: 24px;
        padding-top: 2px;
        padding-right: 12px;
        padding-bottom: 2px;
        padding-left: 12px;
        font-weight: 500;
        opacity: 1;
        border-radius: 100px;
        background: #101010;
        color: #fff;
        display: flex !important;
        justify-content: center;
        max-width: max-content;
        margin-right: 4px;
    }

    button.slick-next.slick-arrow::before{
        content: "";
        background-image: url('../img/slider_arraw.svg');
        background-size: contain;
        width: 30px;
        height: 30px;
        background-repeat: no-repeat;
        display: flex;
        transform: rotate(180deg) translate(-3px, 4px);

    }

    button.slick-prev.slick-arrow::before{
        content: "";
        background-image: url('../img/slider_arraw.svg');
        background-size: contain;
        width: 30px;
        height: 30px;
        background-repeat: no-repeat;
        display: flex;
        transform: translate(-12px, -4px);
    }

    .category-header__subcats-list a.active.red.hv-red{
        background: var(--red);
    }

    .category-header__subcats-list a.active.hv-fire-opal{
        background: var(--fire-opal);
    }
    .category-header__subcats-list a.active.hv-blue{
        background: var(--blue);
    }
    .category-header__subcats-list a.active.hv-bondi-blue{
        background-color: var(--bondi-blue);
    }
    .category-header__subcats-list a.active.hv-green{
        background: var(--green);
    }
    .category-header__subcats-list a.active.hv-purple {
        background: var(--purple);
    }
    .category-header__subcats-list a.active.hv-pink{
        background: var(--pink);
    }





    /* ---------------------------------------------------------------------
    ---------- Footer Responsive---------------------------------------------
    -----------------------------------------------------------------------  */

    .footer .container {
        padding: 0 36px;
    }

    .footer::before {
        width: 328px;
        height: 327px;
    }

    .footer-inner {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 60px;
        padding: 80px 0 120px;
    }

    .footer-nav-wrapper {
        order: 0;
    }

    .footer-logo {
        display: none;
    }

    .up-arrow-container {
        display: none;
    }

    .footer-company-info {
        order: 4;
    }

    .footer-copyright{
        display: none;
    }

    .footer-copyright.footer-copyright-mobile {
        display: flex;
        order: 5;
    }

    .footer-nav-container {
        justify-content: space-between;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }


    .footer_logo_arrow{
        display: flex;
        justify-content: space-between;
        margin-top: 40px;
        align-items: center;
        
    }

    .footer_logo_arrow .footer-logo {
        display: block;
    }

    .footer_logo_arrow .up-arrow-container {
        display: flex;
    }


}

@media only screen and (max-width: 767px) {

    main {
        padding-top: 12px;
    }

    .btn-wrapper {
        display: flex;
        justify-content: center;
    }

    .mt-40 {
        margin-top: 12px;
    }
    .mb-40 {
        margin-bottom: 12px;
    }
    .page-template-templates .g-24,
    .category .g-24{
        gap: 12px;
    }

    .g-16 {
        gap: 12px;
    }
    .mb-24 {
        margin-bottom: 12px;
    }

    .category .g-40{
        gap: 24px;
    }
	
	.dummy-ads {
		aspect-ratio: 312 / 104;
		min-height: auto;
	}



    /* Header */
    .header-logo img {
        max-width: 62px;
        width: 100%;
    }
    .header-inner {
        padding: 18px 0;
    }
    .mobile_menu.active{
        height: calc(100vh - 60px);
    }

    .owl-item .post_date.white{
        font-weight: 400;
        font-family: var(--font-ibm);
    }


    /* ---------------------------------------------------------------------
    ----------category Responsive---------------------------------------------
    -----------------------------------------------------------------------  */

    .inn-latest-posts-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .inn-latest-posts-wrapper.columns-2 .news-item {
        width: 100%;
    }

    .container:has(.col-one-third:nth-of-type(3)) .col-one-third:nth-child(1),
    .container:has(.col-one-third:nth-of-type(3)) .col-one-third:nth-child(2){
        max-width: 100%;
    }

    .category-posts-wrapper .news-item {
        grid-template-columns: 1fr;
    }

    .nav-links .page-numbers:not(.dots) {
        height: 46px;
        width: 46px;
    }

    .inn-latest-video-wrapper.columns-2 {
        grid-template-columns: 1fr;
    }

    .rd-scnd-post-sec .news-item-highlight {
        grid-column: unset;
    }
	
	.news-heading {
		justify-content: center;
	}

    /* news  */
    .category-landing #highlights-news-wrapper {
        gap: 12px;
    }

    .news-item-date, .innn_news__item .news-time {
        font-weight: 400;
    }

    h5.news-item-title a {
        font-weight: 600;
        color: #101010;
    }

    div#category-news-block-1-2,
    div#category-news-block-2-2,
    div#category-news-block-3-2,
    div#category-news-block-3-3,
    div#category-news-block-4-2,
    div#category-news-block-5-2,
	div#homepage-news-block-1-2,
	div#homepage-news-block-3-2,
	div#homepage-news-block-3-3{
        margin-top: 12px;
    }

    div#section__category-ads-4 {
        margin-top: 12px;
    }

    .innn_news__item {
        gap: 8px;
        padding-bottom: 8px;
    }

    .category .innn_news__item {
        gap: 6px;
        padding-bottom: 6px;
    }


    body:not(.home) .innn_news__item {
        margin: 0 24px 0px 24px;
    }

    .inn-latest-posts-wrapper .news-item.g-16{
        gap: 16px;
    }

    /* sub cat  */

    .category-posts-wrapper .news-item-link img:not(.vd-play-btn){
        aspect-ratio: 312 / 246;
    }
    .news-item-thumb{
        line-height: 0;
    }

    .category span.news-item-date {
        font-size: 12px;
    }
    .category .h2.news-item-title a.news-item-link {
        font-size: 20px;
        color: #101010;
    }

    .category .news-item .g-16 {
        gap: 6px;
    }
    .category .news-excerpt{
        font-size: 14px;
        color: #101010;
    }
    .category .col-one-third,
    .category .archive-sidebar-ads{
        margin-top: 12px;
    }
    .category .mb-60{
        margin-bottom: 24px;
    }

    .pagination-wrapper.full-width.mt-40{
        margin-top: 24px;
    }
	
	.nav-links .page-numbers:not(.dots) {
        height: 35px;
        width: 35px;
        font-size: 11px;
    }
	
	.pagination-wrapper .nav-links {
		gap: 10px;
        flex-wrap: wrap;
	}
	
	/* span.news-item-date {
		color: #101010cc !important;
	} */

    a.btn.bm_see_all_btn {
        padding: 6.7px 0;
        line-height: 0.7;
    }


    /* lottery  */
    .lot-date-search {
        flex-wrap: wrap;
        justify-content: center;
    }
    .lottery-results-featured .first-result-block {
        gap: 12px;
        margin: 19px auto 12px auto;
    }
    .num-header {
        gap: 6px;
    }
    .num.g-16 {
        gap: 10px;
        justify-content: center;
    }

    .num-wrapper{
        background-color: var(--white);
        padding: 20px 8px;
        width: 100%;
        border-radius: 12px;
    }

    .num-wrapper .num-char {
        font-size: 48px;
        border-radius: 0;
        padding: 0;
        font-family: var(--font-ibm);
        line-height: .7;
        text-align: center;
    }

    .second-result-block.result-block {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

   .num-header {
        grid-column: 1 / -1;
    }

    div#lottery-result-inner{
        padding: 12px 16px;
    }

    .result-block .num-wrapper:first-child{
        grid-column: 1;
        padding: 32px 10px;
    }
    .result-block .num-wrapper:last-child{
        grid-column: 2;
        padding: 32px 10px;
    }
    .third-result-block-wrapper.gd{
        margin-top: 12px;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        row-gap: 12px;
    }
    .third-result-block.result-block{
        margin-bottom: 0;
    }
    
    .third-result-block.result-block:last-child{
        grid-column: 1 / -1;
        margin-bottom: 12px;
    }

    .lottery-sidebar-widget {
        padding: 20px 16px;
    }

    .lottery-date{
        flex-direction: column;
    }
    div#sidebar-news-block {
        margin-top: 12px;
    }

    .num-wrapper{
        gap: 10px !important;
    }
    .num-wrapper .num {
        font-size: 24px !important;
    }
    .third-result-block.result-block:last-child .num{
        font-size: 36px !important;
    }

    section#section__lottery-wrapper div#lottery-sidebar {
        margin-top: 12px;
    }



    /* heading btn */
    .news-heading .btn-heading-see-all {
        display: none;
    }



    /* ---------------------------------------------------------------------
    ----------Home page Responsive---------------------------------------------
    -----------------------------------------------------------------------  */
    /* highlight section */
    #highlights-news-slider h4,
    .news-item-highlight .h1,
    .news-item-highlight .h2 {
        font-size: 18px;
        -webkit-line-clamp: 2;
        line-height: 1.3;
    }
    #highlights-news-slider .news-item .news-item-inner {
        padding: 18px 14px 40px;
    }
    .news-item.news-item-highlight .news-item-content {
        padding: 18px 14px;
    }
    .home .news-item.news-item-highlight .news-item-content {
        position: absolute;
        width: 100%;
        bottom: 0;
    }

    #highlights-news-slider .news-item .cat-label,
    .cat-label {
        font-size: 12px;
        padding: 2px 12px;
    }
    .post_date {
        font-size: 14px;
    }
    .news-heading.g-10{
        gap: 8px;
    }

    .news-heading h3.tt-upper{
        margin-top: 0;
        position: relative;
        top: 2px;
    }

    /* Sidebar post */
    .inn-latest-posts-wrapper .news-item:not(.news-item-highlight) .news-item-meta {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 6px;
    }
    .inn-latest-posts-wrapper .news-item-thumb {
        line-height: 0;
    }
    .inn-latest-posts-wrapper .line-count-3 {
        -webkit-line-clamp: 2;
        line-height: 1.4;
    }

    /* Video Sec */
    .inn-latest-posts-wrapper.inn-video-posts-wrapper {
        grid-template-rows: auto;
        grid-template-columns: 1fr;
        grid-template-areas:
            "main-video"
            "sub-video1"
            "sub-video2";
    }

    .news-item.for-mobile .news-item-thumb {
        line-height: 0;
        position: relative;
    }

    .news-item.for-mobile {
        display: grid;
        grid-template-columns: 120px auto;
        gap: 16px;
        aspect-ratio: unset !important;
    }

    .news-item.for-mobile img.vd-play-btn.center {
        width: 32px !important;
        height: 32px !important;
    }

    .news-item.for-mobile span.news-item-date {
        font-weight: 400;
        color: #101010;
    }

    .news-item.for-mobile h5.news-item-title {
        color: #101010;
    }

    .news-item.for-mobile span.news-item-cat {
        font-family: var(--font-ibm) !important;
        background: #00A9BC;
        padding: 2px 12px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 500;
        color: #fff;
    }

    .news-item.has-bg.for-mobile.news-item-highlight {
        position: relative;
    }

    /* .news-item-content.white {
        position: absolute;
        bottom: 0;
        width: 100%;
    } */

    .news-item.for-mobile.news-item-highlight span.news-item-date {
        color: #fff;
    }
    .news-item.has-bg.for-mobile.news-item-highlight {
        border-radius: 36px;
    }

    .for-mobile.mb-highlight-vid-item.news-item-highlight{
        aspect-ratio: 312 / 246 !important;
        margin-top: 12px;
    }
    .for-mobile.mb-highlight-vid-item .news-item-content{
        position: absolute;
        width: 100%;
        bottom: 0;
    }



    #section__homepage-news-block-3 .col-one-third {
        max-width: 100%;
    }

    .slider_menu-hero{
        display: block;
    }

    .slider_menu-hero ul{
        padding: 0;
        margin: 0;
        transform: translateX(36px);
    }

    .slider_menu-hero ul li{
        list-style: none;
        margin-right: 4px;
        width: max-content;
        max-width: max-content;
    }

    .slider_menu-hero ul li ul{
        display: none;
    }

    .slider_menu-hero ul img.submenu_right_arraw{
        display: none;
    }
    .slider_menu-hero li a{
        font-size: 12px;
        background: #101010;
        padding: 3px 12px;
        border-radius: 100px;
        display: inline-block;
    }

    .menu_item_1 a{
        color: var(--red) !important;
    }

    .menu_item_2 a{
        color: var(--pink) !important;
    }

    .menu_item_3 a {
        color: var(--green) !important;
    }

    .menu_item_4 a{
        color: var(--purple) !important;
    }

    .menu_item_5 a{
        color: var(--blue) !important;
    }

    .menu_item_6 a{
        color: var(--bondi-blue) !important;
    }

    .menu_item_7 a{
        color: var(--fire-opal) !important;
    }

    .slider_menu-hero .slick-list{
        max-width: calc(100vw - 122px);
        width: 100%;
    }

    .category-header__subcats-list {
        gap: 0 !important;
        row-gap: 4px !important;
    }

    .category-header__subcats-list span.separator {
        display: none;
    }

    .page .home__ads-section:last-child {
        margin-bottom: 12px !important;
        margin-top: 12px !important;
    }
    section#section__category-news-block-5{
        margin-bottom: 12px !important;
    }


    /* ---------------------------------------------------------------------
    ----------Video page Responsive---------------------------------------------
    -----------------------------------------------------------------------  */

    .news-item.for-mobile .news-item-thumb img{
        width: 120px;
        height: 120px;
        border-radius: 24px;
        object-fit: cover;
    }

    .news-item.for-mobile .news-item-meta{
        margin-bottom: 6px;
        gap: 6px;
        align-items: flex-start;
        flex-direction: column;
    }

    .page-template-category-video section#section__category-news-block-3 .news-item.for-mobile .news-item-meta{
        margin-bottom: 10px;
        gap: 10px;
    }
    .page-template-category-video section#section__category-news-block-5.my-120{
        margin: 24px auto 12px auto;
    }
    .page-template-category-video section#section__category-news-block-5.my-60{
        margin: 12px auto 24px auto;
    }

    .page-template-category-video section#section__category-news-block-3 .col-one-third,
    .page-template-category-video section#section__category-news-block-5 .col-one-third{
        gap: 0;
    }
    .page-template-category-video div#section__category-ads-2{
        margin-top: 12px;
    }

/*     section#section__homepage-ads-5.my-60 {
        margin: 24px auto 12px 0;
    } */
	
	section#section__homepage-ads-5.my-60 {
        margin:0;
    }

    /* ---------------------------------------------------------------------
    ----------ruam-duay page Responsive---------------------------------------------
    -----------------------------------------------------------------------  */

    .mb-120{
        margin-bottom: 24px;
    }
    .mt-60{
        margin-top: 24px;
    }

    .page-template-category-ruam-duay div#category-news-block-2-1{
        gap: 0;
    }
    .page-template-category-ruam-duay section#section__category-ads-2 {
        margin: 12px auto;
    }

    /* ---------------------------------------------------------------------
    ----------Single page Responsive---------------------------------------------
    -----------------------------------------------------------------------  */

    .single-post_related-news {
        grid-template-columns: 1fr;
        margin-bottom: 6px;
        gap: 12px;
    }
    .single .news-item-meta{
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .single-post_related-news h5.news-item-title a{
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4; 
    }
    span.news-time {
        color: #101010cc;
    }
    .single .g-24 {
        gap: 12px;
    }

    .single-news-sidebar.col-one-third {
        margin-top: 12px;
    }
    .single .innn-social-sharing ul {
        margin: 12px auto;
        gap: 24px;
    }

    .single-news-body-content p {
        margin-bottom: 16px;
    }
    .single-news-body-content img{
        margin-bottom: 16px !important;
    }
    .single-news-body-meta h1{
        font-size: 22px;
        font-weight: 600;
        color: #101010;
    }

    .single-news-body-meta.g-20{
        gap: 12px;
    }
    section.single-news-banner.mb-60{
        margin-bottom: 12px;
    }
    .single-news-featured-bg {
        object-fit: cover;
        aspect-ratio: 312 / 246;
        border-radius: 24px;
    }
    .single-news-banner-title.tt-upper {
        display: none;
    }
    .single-news-featured-bg::before {
        border-radius: 24px;
    }


    /* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
    ** About Ruam Duay
    ** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

    .page-template-about-ruam-day section#section__content .container{
        padding-top: 16px;
        padding-bottom: 12px;
        gap: 16px;
    }

    .ruam_upper_content {
        gap: 8px;
    }

    .page-template-about-ruam-day section#section__content h1 {
        font-size: 22px;
    }

    .page-template-about-ruam-day section#section__content h4 {
        font-size: 20px;
    }

    .page-template-about-ruam-day ol,
    .page-template-about-ruam-day ul {
        margin-bottom: 16px;
    }
    .page-template-about-ruam-day .social-links {
        justify-content: flex-start;
        margin-bottom: 24px;
    }
    .ruam_content_last {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ruam_content_last .image_part {
        width: 134px;
    }
    .ruam_content_last_content_part {
        gap: 12px;
    }
    .page-template-about-ruam-day div#section__hero_banner img {
        aspect-ratio: 312 / 246;
        object-fit: cover;
    }
    .ruam_upper_content_img img {
        aspect-ratio: 312 / 95.69;
        object-fit: cover;
    }



    /* Add Section */
    #section__homepage-ads-3 {
        margin-bottom: 24px;
    }

}


