@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+128&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --gridnos: 11;
    --font-family: AnekMalayalam;
    --hero-aspect-ratio: 16/7;
    --aspect-ratio: 16/9;

    --base-color: #ffff;
    --base-variant: #f8f9fa;
    --base-light: #F3F4F4;
    --text-break-color: rgb(71, 0, 153);
    --text-color: #09090E;
    --text-reve-color: #ffff;
    --text-card-color: #ffff;

    --card-header-primary: rgb(204, 0, 51);
    --card-header-secondary: rgb(71, 0, 153);
    --card-border: #dee2e6;
}

.dark-theme {
    --base-color: #1E293B;
    --base-variant: #141B2D;
    --base-light: #F3F4F4;
    --text-break-color: #ffff;
    --text-color: #f3F4F6;
    --text-reve-color: #09090E;
}

* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.main {
    background-color: var(--base-variant);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    position: relative;
}

.container-pading {
    padding: 1rem;
}

.bg-light {
    background-color: var(--base-color);
}

@media (width >=1280px) {
    .container {
        width: 80%;
    }
}

.static-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.grid-md-division {
    display: grid;
    /* grid-template-columns: repeat(1, 1fr); */
    grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 25vw, 400px), 1fr));
    gap: 1.5rem;
}

.grid-7 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.grid-7-span {
    grid-column: span 1;
}

.grid-span-2x2 {
    grid-column: span 1;
    grid-row: span 1;
}

.grid-division {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 1.5rem;
}

.sidebar-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap; */
    gap: 1.5rem;
}

.post-side-card {
    /* width: 200px; */
    flex: 1 1 200px;
}

.post-card {
    min-height: 5rem;
}

.order-md-first {
    order: 0;
}

.col-span-side {
    grid-column: span 1;
}

.col-span-md-4 {
    grid-column: span 1;
}

.col-span-md-3 {
    grid-column: span 1;
}

/* @container (width > 1024px) {
  .static-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
} */

@media (min-width: 576px) {

    .static-grid,
    .article-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.0rem;
    }

    .grid-7 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.0rem;
    }

    .grid-span-2x2 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .grid-7-span {
        grid-column: span 4;
    }

    .col-span-md-3 {
        grid-column: span 2;
    }

    .col-span-md-4 {
        grid-column: span 2;
    }

    .col-span-md-5 {
        grid-column: span 4;
    }

    .col-span-side {
        grid-column: span 4;
    }

    .order-md-first {
        order: 0;
    }
}

@media (min-width: 768px) {

    .static-grid,
    .article-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 1.2rem;
    }

    .grid-7 {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 1.1rem;
    }

    .grid-7-span {
        grid-column: span 5;
    }

    .col-span-md-3 {
        grid-column: span 2;
    }

    .col-span-md-4 {
        grid-column: span 3;
    }

    .col-span-md-5 {
        grid-column: span 4;
    }

    .col-span-side {
        grid-column: span 5;
    }
}

@media (min-width: 992px) {
    .static-grid {
        display: grid;
        grid-template-columns: repeat(9, 1fr);
        /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
        gap: 1.5rem;
    }

    .article-grid {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 1.5rem;
    }

    .grid-7 {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 1.5rem;
    }

    .grid-7-span {
        grid-column: span 7;
    }

    .col-span-md-5 {
        grid-column: span 5;
    }

    .col-span-md-4 {
        grid-column: span 4;
    }

    .col-span-md-3 {
        grid-column: span 3;
    }

    .col-span-md-2 {
        grid-column: span 2;
    }

    .col-span-side {
        grid-column: span 2;
    }

    .order-md-first {
        order: -1;
    }
}

.logo-container {
    display: flex;
    flex-direction: row;
    gap: 1.0rem;
}

.logo-container .logo {
    max-width: 150px;
}
.logo-container .logo img {
    width: 100%;
    object-fit: cover;
}

@font-face {
    font-family: AnekMalayalam;
    src: url(../fonts/AnekMalayalam-Regular.ttf);
}

/* roboto-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/roboto-v49-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

h1 {
    font-family: var(--font-family);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: clamp(1.3rem, 2vw, 1.6rem);
    color: var(--text-break-color);
}

h2 {
    font-family: var(--font-family);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-color)
}

p {
    font-family: var(--font-family);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: clamp(1.2rem, 2vw, 1.3rem);
    color: var(--text-color);
    margin-bottom: 1.0rem;
}

a {
    text-decoration: none;
}

.article-content p {
    font-family: var(--font-family);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--text-color);
    margin-bottom: 1.0rem;

}

.article-content p span {
    font-family: var(--font-family);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: clamp(1.6rem, 2vw, 1.8rem);
    color: var(--text-color);
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-limit-chars: 10 3 4;
}

.article-content li span {
    font-family: var(--font-family);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: clamp(1.6rem, 2vw, 1.8rem);
    color: var(--text-color);
    padding-bottom: 1.0rem;
}

.article-content li {
    margin-bottom: 1rem;
}

.article-content {
    max-width: 600px;
    margin: auto;
}

.main-post {
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 1rem;
}

.img-holder {
    /* margin-bottom: 0.5rem; */
}

.mt-hero {
    margin-top: 7rem;
}

.post-card .img-holder {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.7rem;
}

.post-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.post-card>.card-horizontal {
    display: flex;
    flex-direction: row;
}

.image-container img {
    width: 100%;
    max-height: 700px;
    object-fit: cover;

    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    /* -webkit-filter: blur(5px);
    filter: blur(5px); */
}

.card-hr-vr {
    /* background-color: white;
    border-bottom: 1px solid rgb(231, 231, 231); */
    background-color: var(--base-color);
    border-bottom: 1px solid var(--card-border);
    border-radius: 5px;
    /* margin-bottom: 0.5rem; */
    /* height: 10rem; */
}

.card-horizontal {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
}

.card-horizontal>.mdcard-img-thump {
    max-width: 30%;
    aspect-ratio: 3/2;
    display: block;
}

.card-horizontal>.mdcard-img-thump img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 /2;
    border: 2px solid var(--base-variant);
    border-radius: .5rem
}

.post-card a {
    text-decoration: none;
    color: var(--text-color)
}

.card-header {
    display: flex;
    padding-bottom: 5px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
}

.card-header>.card-h-main {
    padding: 2px 7px;
    color: var(--text-card-color);
    background-color: var(--card-header-secondary);
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-right: 2px solid var(--base-color);
}

.card-header>.card-h-sub {
    padding: 2px 7px;
    color: var(--text-card-color);
    background-color: var(--card-header-primary);
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

.card-footer {
    bottom: 0;
}

.swiper {
    width: 100%;
    /* height: auto; */
    height: 250px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: var(--base-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w-width {
    width: 100%;
}

.h-height {
    height: 100%;
}

.always-onTop {
    z-index: 9999
}

.always-onBottom {
    z-index: -1
}

.section-header {
    height: 2.5rem;
    padding: 1rem 0 1rem;
    background: #2A7B9B;
    background: linear-gradient(0deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 0) 73%, rgba(87, 199, 133, 0) 100%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
}

.hero-section {
    position: relative;
    width: 100%;
}

.hero-image {
    width: 100%;
    overflow: hidden;
}

.hero-section .hero-image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: var(--hero-aspect-ratio);
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
    top: 0;
}

.absolute-centered-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.md-absolute-bottom {
    position: absolute;
    bottom: 5rem;
    left: 0;
    right: 0;
    margin: auto;
}

.hero-content {
    max-width: 60%;
    background-color: var(--base-color);
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.items {
    display: flex;
    flex-direction: column;
    min-height: 10rem;
}

@media (max-width: 992px) {
    .md-absolute-bottom {
        position: relative;
        bottom: 0;
    }
}