@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&display=swap");
        
html {
    box-sizing: border-box;
}

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

a,
a:after,
a:focus,
a:visited,
a:hover {
    color: inherit;
    text-decoration: none;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
/* h1,
h2,
h3,
h4 {
    text-wrap: balance;
} */

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color:#606070;
}

::-moz-selection { /* Code for Firefox */
    background: #f4d661;
    color:#000;
}
  
::selection {
    background: #f4d661;
    color:#000;
}

h1 {
    font-family: "Sofia Sans", sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color:#212527;
}

header .brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    border-bottom:1px solid #ddd;
    padding:0;
}

.social {
    width:20%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size:1.3rem;
    gap:20px;
    color:#101011;
    padding-left:12px;
}

.social a {
    display: flex;
    width: 24px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    font-family: "Sofia Sans", sans-serif;
    font-size: 49px;
    font-weight: 900;
    text-align: center;
    color: #101011;
    line-height: 70px;
    padding:0 12px;
}

.logo a {
    display: block;
    height: 50px;
}

.logo img {
    height: 50px;
}

.logo h1{
    margin: 11px 0 0 20px;
    font-weight: 800;
    color: #fc0;
    text-transform: uppercase;
    font-size: 2rem;
}

.actions{
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right:12px;
    /* gap: 23px; */
}

.search-icon{
    height:22px;
}

.menu-icon{
    height:18px;
}

header .main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

nav {
    display: flex;
    flex-wrap:wrap;
    align-items: center;
    justify-content: center;
    padding:20px 0;
    /* gap: 35px; */
    color:#101011;
    font-weight:700;
}

nav a {
    transition: all 0.3s ease;
    font-size: 0.95em;
    padding-left:12px;
    padding-right:12px;
}

nav a:hover {
    color: #fc0;
}

.main-menu-mobile{
    max-height:0px;
    overflow:hidden;
    transition: all 0.3s ease;
}

.main-menu-mobile.open{
    max-height:2000px;
}

.main-menu-mobile nav {
    flex-direction:column;
    width:100%;
}

main {
    min-height: calc(100vh - 250px);
    padding: 0 0 15px 0;
}

main p {
    margin-bottom: 20px;
}

main p a{
    color: #e6b800 !important;
    border-bottom: 1px dotted #e6b800 !important;
    font-weight: 600;
}

main h1 {
    margin-top: 20px;
    margin-bottom: 30px;
}

footer .footer-categories{
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 50px; */
    border-top:1px solid #ddd;
}

footer .footer-menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top:0;
    padding:0;
}

footer .footer-menu ul li {
    list-style: none;
}

footer .footer-menu ul li a{
    font-size:0.85rem;
}

.not-found {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 290px);
}

.not-found img {
    width: 320px;
    max-width: 90%;
    color: #fc0;
    font-weight: 900;
    font-size: 130px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1;
}

.not-found h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #101011;
    text-align:center;
}
.fcard {
    margin-bottom:20px;
}

.fcard__thumb {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden;
    position:relative;
}

.fcard--1x3 .fcard__thumb{
    padding-bottom: 33.33%;
}

.fcard--16x9 .fcard__thumb{
    padding-bottom: 56.25%;
}

.fcard--16x10 .fcard__thumb{
    padding-bottom: 62.5%;
}

.fcard--3x2 .fcard__thumb{
    padding-bottom: 66.66%;
}

.fcard--4x3 .fcard__thumb{
    padding-bottom: 75%;
}

.fcard--1x1 .fcard__thumb{
    padding-bottom: 100%;
}

.fcard__text{
    width: 100%;
    margin: 5px 0;
}

.fcard__info{
    font-size: 0.75rem;
    color: #606070;
    margin: 8px 0 5px 0;
}

.fcard__info a{
    font-weight:400 !important;
    border:none !important;
}

.fcard__icon--time{
    margin-right: 5px;
}

.fcard__icon--category{
    margin-right: 5px;
    margin-left: 10px;
    color:#f2a30b;
}

.fcard__category {
    color:#f2a30b;
}

.category-tooltip {
    --bs-tooltip-bg: #f2a30b;
    --bs-tooltip-color: #ffffff;
    --bs-tooltip-font-size:0.8rem;
}

.fcard__icon--seen{
    margin-right: 5px;
    margin-left: 10px;
}

.fcard__title{
    font-family: "Sofia Sans", sans-serif;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 800;
    color:#101011;
}

.fcard__play{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 18%;
    z-index: 1;
}

.fcard--short{
    display: flex;
    gap: 12px;
    width: 100%;
    height: 90px;
    background: #f9fafb;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.fcard--short .info{
    width:calc(100% - 100px);
}

.fcard--short .info h3{
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.1;
    color: #101011;
    font-family: "Sofia Sans", sans-serif;
}

.fcard--short .info p{
    font-size:0.8rem;
    color:#606070;
    padding:0 0 3px 0;
    margin:0;
}

.fcard--short .info .divider{
    margin:0 15px;
}

.fcard--short .info .categories{
    color:#f2a30b;
}

.fcard--short .thumb{
    min-width: 74px;
    min-height: 72px;
    background: #f5f6f7;
    background-size: cover !important;
    border-radius: 3px;
}

.fcard__excerpt{
    font-size:0.9rem;
    line-height: 1.4;
    margin-top:15px;
}

.head_news-next{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.section-heading{
    position:relative;
    font-family: "Sofia Sans", sans-serif;
    color: #101011;
    font-weight: 800;
    font-size: 0.9rem;
    margin: 30px 0 15px 0;
    padding-bottom:5px;
    border-bottom:1px solid #ddd;
    text-transform: uppercase;
}

/* Add yellow rectangle before the h2 tag*/
.section-heading:before{
    content: "";
    display: block;
    width: 50px;
    height: 5px;
    background: #fc0;
    position: absolute;
    bottom: -5px;
}

.section-heading-name{
    padding-left:0;
}

.section-heading-more{
    padding-right:0;
    text-align:right;
}

.section-heading-more i{
    margin-left:10px;
}

.more-post-same{
    margin-bottom:15px;
}

.more-post-diff{
    margin-bottom:25px;
}

.home-advs-container {
    margin-top:20px;
    background: #F7F8F9;
}

.home-advs {
    padding:70px 0;
    gap: 50px;
}

.home-advs-item{
    padding:8px 12px;
    background:#FFFFFF;
    border:1px solid #ddd;
    border-radius:5px;
    display:flex;
    align-items:center;
    justify-content: center;
}

.joke {
    display: flex;
    align-items: flex-start;
}

.joke-icon {
    font-size: 25px;
    color: #f2a30b;
    padding:0px 10px 0 0;
}

.joke-content{
    flex-grow:1;
}

.joke-content h2{
    color:#101011;
    font-size:1rem;
    font-weight:900;
    margin:12px 0 5px 0;
}

.joke-content p{
    color:#678;
    font-size:0.9rem;
    font-style:italic;
    margin:0;
}

.joke-content a{
    color:#f2a30b;
    font-size:0.9rem;
    margin:0;
    padding:0;
    display:block;
    text-align:right;
    font-weight:700;
    font-style:italic;
}

#joke-modal-label{
    font-family: "Sofia Sans", sans-serif;
    color:#101011;
    margin:0;
    padding:0;
    font-size: 2rem !important;
    font-weight: 900;
}

.video-card {
    flex-direction:column;
}

.video-play-icon{
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.video-play-icon img{
    max-width:25%;
    max-height:50%;
}

.audio-container{
    margin-top:20px;
    padding:25px 0;
    background: #F7F8F9;
}

.audio-card{
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    margin-bottom: 25px;
}

.audio-card-thumb{
    min-width: 100px;
    width: 100px;
    min-height: 100px;
    height: 100px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden;
    border-radius:50%;
    border:3px solid #000;
}

.audio-card-icon{
    min-width: 60px;
    width: 60px;
    min-height: 60px;
    height: 60px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.audio-card-icon img{
    width: 50px;
}

.audio-card-title{
    font-family: "Sofia sans";
    color: #101011;
    line-height: 1.2;
    font-weight: 700;
    font-size: 1.1rem;
}

.marquee {
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    padding:8px;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    /* animation: marquee 20s linear infinite; */
    animation-name: marquee;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.search-btn-close{
    position: absolute;
    top: 8px;
    right: 8px;
    z-index:100;
}

.search-input input{
    width: 100%;
    margin: 70px 0 40px 0;
    padding: 15px;
    background: #f5f6f7;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-btns {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.search-submit-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 24px;
    background: #fc0;
    color: #fff;
    font-weight: 400;
    border: 1px solid #c8a106;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.search-submit-btn:hover {
    background: #c8a106;
    border: 1px solid #af8c02;
}

.search-close-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding:4px 6px;
    background: #e6e5de;
    color: #101011;
    font-weight: 700;
    border: 1px solid rgb(188, 188, 188);
    border-radius: 5px;
}

.search-keyword{
    color:#fc0;
}

.searchcard{
    padding: 15px 15px 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    margin-bottom: 25px;
}

.searchcard__thumb{
    margin-bottom:20px;
}

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

.searchcard__title{
    font-family: "Sofia sans";
    color: #101011;
    line-height: 1.2;
    font-weight: 800;
    font-size: 1.5rem;
}

.searchcard__info{
    font-size: 0.8rem;
    color: #606066;
    margin: 5px 0 5px 0;
}

.searchcard__posttype{
    color:#f2a30b;
}

.searchcard__excerpt{
    color:#101011;
    font-size:0.9rem;
    line-height: 1.4;
}

.nav-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #f7f8f9;
}

.page-numbers.current {
    color: #fc0;
}

.fb-btn{
    padding: 7px 15px;
    background: #f2a30b;
    border: 1px solid #d68e06;
    border-radius: 4px;
    color: #fff;
    cursor:pointer;
}

.fb-btn i{
    margin-right: 5px;
}

.fb-btn:hover{
    background: #ffae18;
    color:#000;
}


@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}



@media only screen and (max-width: 600px) {
    h1 {
        font-size: 1.6rem;
    }
    
    .social{
        display:none;
    }
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }
    footer .footer-menu ul{
        flex-direction:column;
        gap:5px;
    }
}

/* 

@media only screen and (min-width: 600px) {
}

@media only screen and (min-width: 768px) {
  
}

@media only screen and (min-width: 992px) {
}

@media only screen and (min-width: 1200px) {
  
} 
*/
