/*
Theme Name: CCPC Theme
Theme URI: https://ccpc.edu.bd
Author: CCPC
Author URI: https://ccpc.edu.bd
Description: Alhaj Mostafizur Rahman College
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ccpc-theme
*/



/*======================================================

****css start for right-sidebar for page.php

========================================================*/

/* ===================================================
   PAGE.PHP FULL RESPONSIVE CSS
   Supports:
   ✔ Desktop
   ✔ Laptop
   ✔ Tablet
   ✔ Mobile
   ✔ Small Mobile
   ✔ WordPress Sidebar Widgets
=================================================== */

/* =========================
   MAIN LAYOUT
========================= */

.site-main {
    background: #f5f7fa;
    min-height: 100vh;
}

.site-main .container {
    width: 100%;
    max-width: 1320px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.site-main .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* =========================
   CONTENT AREA
========================= */

.site-main .col-lg-8,
.site-main .col-md-8 {
    flex: 0 0 calc(66.666% - 10px);
    max-width: calc(66.666% - 10px);
}

.site-main .col-lg-4,
.site-main .col-md-4 {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
}

/* Card Style */
.site-main .card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* =========================
   ARTICLE STYLE
========================= */

article {
    margin-bottom: 40px;
    border-bottom: 1px solid #ececec;
    padding-bottom: 30px;
}

/* Featured Image */
.post-thumbnail {
    overflow: hidden;
    border-radius: 10px;
}

.post-thumbnail img {
    width: 100%;
   /* height: auto;*/
    height: 70vh;
    object-fit: contain;
    display: block;
    transition: 0.4s ease;
}

.post-thumbnail img:hover {
    transform: scale(1.03);
}

/* =========================
   TITLE
========================= */

.entry-title {
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.entry-title a {
    text-decoration: none;
    color: #1c1c1c;
    font-size: 30px;
    font-weight: 700;
    transition: 0.3s;
}

.entry-title a:hover {
    color: #0d6efd;
}

/* =========================
   META
========================= */

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.entry-meta img.emoji {
    width: 16px;
    height: 16px;
}

/* =========================
   CONTENT
========================= */

.entry-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
    padding: 10px;
}

/* =========================
   BUTTON
========================= */

.btn-primary {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
    font-weight: 500;
}

.btn-primary:hover {
    background: #084298;
    color: #fff;
}

/* =========================
   SIDEBAR
========================= */

#secondary {
    width: 100%;
}

/* Sidebar Widget */
.sidebar-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

/* Widget Title */
.widget-title {
    font-size: 22px;
    margin-bottom: 18px;
    color: #222;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #0d6efd;
    position: absolute;
    left: 0;
    bottom: 0;
}

/* Sidebar Lists */
.sidebar-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    text-decoration: none;
    color: #444;
    transition: 0.3s;
}

.sidebar-widget ul li a:hover {
    color: #0d6efd;
    padding-left: 5px;
}

/* =========================
   TAG CLOUD
========================= */

.tag-cloud-link {
    display: inline-block;
    background: #f1f3f5;
    color: #444;
    padding: 6px 12px;
    margin: 4px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.tag-cloud-link:hover {
    background: #0d6efd;
    color: #fff;
}

/* =========================
   CALENDAR
========================= */

.wp-calendar-table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.wp-calendar-table caption {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 18px;
}

.wp-calendar-table th,
.wp-calendar-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.wp-calendar-table td a {
    color: #0d6efd;
    text-decoration: none;
}

#today {
    background: #0d6efd;
    color: #fff;
    font-weight: bold;
}

/* =========================
   PAGINATION
========================= */

.pagination-wrapper {
    margin-top: 40px;
    text-align: center;
}

/* ===================================================
   RESPONSIVE DESIGN
=================================================== */

/* =========================
   LARGE DEVICES
========================= */

@media (max-width: 1200px) {

    .entry-title a {
        font-size: 28px;
    }

}

/* =========================
   TABLET DEVICES
========================= */

@media (max-width: 992px) {

    .site-main .col-lg-8,
    .site-main .col-md-8,
    .site-main .col-lg-4,
    .site-main .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .site-main .row {
        gap: 30px;
    }

    .entry-title a {
        font-size: 26px;
    }

}

/* =========================
   MOBILE DEVICES
========================= */

@media (max-width: 768px) {

    .site-main {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .site-main .card {
        padding: 20px;
    }

    .entry-title a {
        font-size: 24px;
    }

    .entry-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .widget-title {
        font-size: 20px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

}

/* =========================
   SMALL MOBILE DEVICES
========================= */

@media (max-width: 576px) {

    .site-main .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-main .card {
        padding: 15px;
        border-radius: 8px;
    }

    .entry-title a {
        font-size: 22px;
    }

    .entry-meta {
        flex-direction: column;
        gap: 8px;
    }

    .entry-content p {
        font-size: 14px;
    }

    .widget-title {
        font-size: 18px;
    }

}

/* =========================
   EXTRA SMALL DEVICES
========================= */

@media (max-width: 400px) {

    .entry-title a {
        font-size: 20px;
    }

    .btn-primary {
        padding: 10px 18px;
        font-size: 14px;
    }

    .sidebar-widget {
        padding: 15px;
    }

}



/*===============================================
Theme Name: CCPC || Animated Page Section
Author: Your Name
Version: 1.0
===============================================*/


/* BODY */

body{/*
    background: #f5f7fb;
    font-family: Arial, sans-serif;*/
    line-height: 1.8;
    overflow-x: hidden;
}


/* PAGE SECTION */

.ccpc-page-section{
    position: relative;
}


/* CONTENT CARD */

.ccpc-page-card{
    background: #ffffff;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.ccpc-page-card:hover{
    transform: translateY(-5px);
}


/* TITLE */

.entry-title{
    color: #0d6efd;
    font-size: 2.8rem;
}


/* FEATURE IMAGE */

.ccpc-thumbnail{
    border-radius: 20px;
}


.ccpc-feature-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
}
.ccpc-feature-image:hover{
    transform: scale(1.03);
}


/* CONTENT */

.entry-content{
    font-size: 17px;
    color: #444;
}


/* SIDEBAR */

.ccpc-sidebar .card{
    transition: 0.4s ease;
}

.ccpc-sidebar .card:hover{
    transform: translateY(-5px);
}


/* WIDGET TITLE */

.widget-title{
    font-size: 22px;
    color: #0d6efd;
    font-weight: 700;
}


/* ANIMATION */

.animate-left{
    animation: slideLeft 1s ease;
}

.animate-right{
    animation: slideRight 1s ease;
}

@keyframes slideLeft{

    from{
        opacity: 0;
        transform: translateX(-50px);
    }

    to{
        opacity: 1;
        transform: translateX(0);
    }

}

@keyframes slideRight{

    from{
        opacity: 0;
        transform: translateX(50px);
    }

    to{
        opacity: 1;
        transform: translateX(0);
    }

}


/* RESPONSIVE */

@media (max-width: 991px){

    .entry-title{
        font-size: 2.2rem;
    }

}


@media (max-width: 768px){

    .ccpc-page-card{
        padding: 20px;
    }

    .entry-title{
        font-size: 1.8rem;
    }

    .entry-content{
        font-size: 16px;
    }

}


@media (max-width: 576px){

    .entry-title{
        font-size: 1.5rem;
    }

}

/*===================================

*** Teacher Page  CSS start here

===================================

.teacher-card {
    transition: 0.4s ease;
    border-radius: 15px;
    overflow: hidden;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: 0.4s ease;
}

.teacher-card:hover img {
    transform: scale(1.05);
}

.section-title h1 {
    font-size: 42px;
}

.teacher-content p {
    margin-bottom: 0;
}


/* ====================================
   TEACHER SECTION
==================================== */

.teacher-section {
    background: #f8fafc;
}

.teacher-subtitle {
    color: #0d6efd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.teacher-title {
    font-size: 3rem;
    font-weight: 800;
    margin-top: 10px;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: #0d6efd;
    margin: 15px auto;
    border-radius: 50px;
}

/* ====================================
   CARD
==================================== */

.teacher-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all .4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.teacher-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

/* ====================================
   IMAGE
==================================== */

.teacher-image-wrapper {
    overflow: hidden;
    position: relative;
}

.teacher-image {
    width: 100%;
    height: 320px;
    object-fit: fill;
    transition: transform .7s ease;
}

.teacher-card:hover .teacher-image {
    transform: scale(1.08);
}

/* ====================================
   CONTENT
==================================== */

.teacher-content {
    padding: 25px;
}

.teacher-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.teacher-designation {
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 15px;
}

.teacher-meta {
    margin: 0;
    padding: 0;
    list-style: none;
}

.teacher-meta li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: .95rem;
}

.teacher-meta li:last-child {
    border-bottom: 0;
}

/* ====================================
   RESPONSIVE
==================================== */

@media (max-width:768px) {

    .teacher-title {
        font-size: 2rem;
    }

    .teacher-image {
        height: 280px;
    }
}