/*
Theme Name: Aktu Papers 3.0
Theme URI: https://aktu-papers.in
Author: Ankit
Description: A modern, premium WordPress theme for AKTU academic resources, built with Tailwind CSS.
Version: 2.0
*/

/* ─── Custom CSS only for things Tailwind CDN can't handle ─── */

/* Smooth scroll */
/* Font Faces */


body {
    font-family: "Nunito Sans", sans-serif;
    /*font-family: 'Poppins', sans-serif;*/
    margin: 0; padding: 0;
}





@font-face {
    font-family: "Nunito Sans";
    src: url("assets/fonts/nunito-sans-latin-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("assets/fonts/nunito-sans-latin-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("assets/fonts/nunito-sans-latin-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


html { scroll-behavior: smooth; }

.no-scrollbar::-webkit-scrollbar {display: none;}
.no-scrollbar {scrollbar-width: none;}
/* Remove default WordPress body margin */


/* Custom scrollbar */

/* Search input focus ring */
.search-input:focus { outline: none; }

.aspect-auto {
  aspect-ratio: auto;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 15 / 9;
}



/* ======================================================
POST THEME END 
====================================================== */

/* for the home-course-explore */


/* AKTU Learning Selector: extra styles only */

.aktu-learning-selector {
    font-family: Inter, Arial, sans-serif;
}

.aktu-learning-selector .student-photo {
    clip-path: polygon(37% 0, 100% 28%, 89% 84%, 21% 100%, 0 43%);
}

.aktu-learning-selector .student-photo-wrap {
    height: 350px;
    width: 370px;
    max-width: 100%;
}

.aktu-learning-selector .role-card {
    transition: border-color .2s ease, box-shadow .2s ease;
}

.aktu-learning-selector .role-card:hover {
    border-width: 2px;
    border-color: #7dd3fc;
    box-shadow: 0 8px 22px #0f172a12;
}

.aktu-learning-selector .role-toggle:focus-visible,
.aktu-learning-selector a:focus-visible {
    outline: 2px solid #0284c7;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .aktu-learning-selector .selector-left {
        display: none;
        
        
    }
}
/* Show left section on desktop */
@media (min-width: 768px) {
    .aktu-learning-selector .selector-left {
        display: block !important;
    }
}

/* Hide left section on mobile */
@media (max-width: 767px) {
    .aktu-learning-selector .selector-left {
        display: none !important;
    }
}


/* left side where image is */


/* =========================================
   AKTU PAPERS — LEFT HERO SECTION
   Complete CSS | Compact artwork
========================================= */

.aktu-ls-left,
.aktu-ls-left * {
    box-sizing: border-box;
}

.aktu-ls-left {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    color: #0f172a;
    font-family: Inter, Arial, sans-serif;
    text-align: left;
}

/* Heading */
.aktu-ls-left .aktu-ls-title {
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0;
    padding: 0;
    color: #0f172a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-transform: none;
    overflow-wrap: break-word;
}

/* Description */
.aktu-ls-left .aktu-ls-description {
    display: block;
    width: 100%;
    max-width: 540px;
    margin: 16px 0 0;
    padding: 0;
    color: #94a3b8;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* Artwork container */
.aktu-ls-left .aktu-ls-artwork {
    position: relative;
    display: block;
    width: 100%;
    max-width: 520px;
    height: 480px;
    margin: 24px 0 0;
    padding: 0;
    overflow: visible;
    isolation: isolate;
}

/* Blue circle */
.aktu-ls-left .aktu-ls-circle {
    position: absolute;
    z-index: 0;
    top: 48px;
    left: 12px;
    width: 260px;
    height: 260px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e0f2fe;
}

/* Yellow star */
.aktu-ls-left .aktu-ls-star {
    position: absolute;
    z-index: 3;
    top: 235px;
    left: -8px;
    display: block;
    margin: 0;
    padding: 0;
    color: #fbbf24;
    font-family: Arial, sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
}

/* Orange diamond */
.aktu-ls-left .aktu-ls-diamond {
    position: absolute;
    z-index: 3;
    top: 45px;
    right: 20px;
    display: block;
    margin: 0;
    padding: 0;
    color: #fb923c;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    transform: rotate(12deg);
}




/* Student photo frame */
.aktu-ls-left .aktu-ls-photo-wrap {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 24px;
    display: block;
    width: 430px;
    max-width: calc(100% - 24px);
    height: 400px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
}

/* Student image */
.aktu-ls-left .aktu-ls-photo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
    clip-path: polygon(
        37% 0,
        100% 28%,
        89% 84%,
        21% 100%,
        0 43%
    );
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .aktu-ls-left .aktu-ls-title {
        font-size: 32px;
    }

    .aktu-ls-left .aktu-ls-description {
        font-size: 13px;
    }

    .aktu-ls-left .aktu-ls-artwork {
        max-width: 100%;
        height: 420px;
    }

    .aktu-ls-left .aktu-ls-circle {
        top: 40px;
        left: 8px;
        width: 220px;
        height: 220px;
    }

    .aktu-ls-left .aktu-ls-photo-wrap {
        left: 16px;
        width: 340px;
        max-width: calc(100% - 16px);
        height: 330px;
    }

    .aktu-ls-left .aktu-ls-star {
        top: 210px;
        left: -6px;
        font-size: 34px;
    }

    .aktu-ls-left .aktu-ls-diamond {
        right: 8px;
        font-size: 28px;
    }

    .aktu-ls-left .aktu-ls-oval {
        bottom: 28px;
        width: 245px;
        height: 62px;
    }

    .aktu-ls-left .aktu-ls-wave {
        bottom: 33px;
        font-size: 42px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .aktu-ls-left {
        display: none !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .aktu-ls-left *,
    .aktu-ls-left *::before,
    .aktu-ls-left *::after {
        animation: none !important;
        transition: none !important;
    }
}
