/* ===================================================================================

* Theme Name: Courselog Child
* Theme URI: https://themeforest.net/user/tripples/portfolio
* Author: Tripples
* Author URI: https://themewinter.com
* Description: courselog is a Education WordPress Theme.
* Version: 1.0.0
* Template: courselog
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */
/* ======================================================
   FONTS
   ====================================================== */

/* Butler Font */
@font-face {
    font-family: 'Butler';
    src: url('assets/fonts/butler/Butler-Free-XBd.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Poppins Font */
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Raleway Regular */
@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/themes/courselog-child/assets/fonts/raleway/Raleway-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Raleway SemiBold */
@font-face {
    font-family: 'Raleway-SemiBold';
    src: url('/wp-content/themes/courselog-child/assets/fonts/raleway/raleway.semibold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ======================================================
   NEWS & ANNOUNCEMENTS CARDS
   ====================================================== */

/* Grid layout for news/announcements cards */
.ciu-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}

/* Individual card container */
.ciu-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Card image */
.ciu-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Card title */
.ciu-card-title {
    font-size: 18px;
    margin: 12px 0 6px;
}

.ciu-card-title a {
    color: #222;
    text-decoration: none;
}

.ciu-card-title a:hover {
    color: #F14D5D;
}

/* Card date */
.ciu-card-date {
    display: block;
    font-size: 16px;
    color: #888;
    margin-bottom: 8px;
}

/* Section title (News / Announcements headings) */
.ciu-card-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #222;
    position: relative;
}

/* Card content wrapper */
.ciu-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Read more button container */
.ciu-card-readmore {
    text-align: center;
    margin-top: 24px;
}


/* ======================================================
   BUTTON STYLES
   ====================================================== */

/* Tertiary button style */
.ciu-btn--tertiary {
    background: #ff2b00;
    color: white;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tertiary button base */
.ciu-btn--tertiary,
.ciu-btn--tertiary-dark {
    border-radius: 0;
    background-color: #ff2b00;
    color: white;
    border: none;
    margin: 0 16px 0 0;
    padding: 0;
    position: relative;
}

/* Button hover */
.ciu-btn.ciu-btn--tertiary:hover,
.ciu-btn.ciu-btn--tertiary:hover span {
    color: #ff4c43;
}

/* Base button style */
.ciu-btn {
    font-size: 1rem;
    display: inline-block;
    letter-spacing: 0.015em;
    border: 2px solid transparent;
    padding: 14px 54px;
    font-weight: 500;
    color: #ff2b00;
    transition: all 0.25s ease;
}

.ciu-btn:hover {
    transform: scale(1.05);
}


/* ======================================================
   RESPONSIVE GRID
   ====================================================== */

/* Tablet */
@media (max-width: 991px) {
    .ciu-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 575px) {
    .ciu-card-grid {
        grid-template-columns: 1fr;
    }
}


/* ======================================================
   BANNER
   ====================================================== */

/* Custom banner background image */
.banner-area.banner-bg {
    background-image: url('/wp-content/themes/courselog-child/assets/images/ciu-history-campus-view.jpg') !important;
}

/* Remove overlay from banner */
.banner-area:before {
    content: none !important;
}

/* Banner title color */
.banner-area .banner-title {
    color: #ffffff;
}


/* ======================================================
   BREADCRUMBS
   ====================================================== */

.ciu-breadcrumbs {
    margin: 20px 0 15px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.ciu-breadcrumbs a {
    color: #222;
}

.ciu-breadcrumbs a:hover {
    font-weight: bold;
}

.ciu-breadcrumbs span,
.ciu-breadcrumbs h2 {
    color: #000;
}


/* ======================================================
   MENU
   ====================================================== */

/* Navigation menu font */
.elementskit-navbar-nav li a {
    font-family: 'Raleway', sans-serif !important;
    font-size: 17px !important;
}

/* Mobile menu */
@media (max-width:576px) {
    .elementskit-navbar-nav li a {
        font-size: 14px !important;
    }
}

/* Tablet menu */
@media (min-width:768px) and (max-width:1024px) {
    .elementskit-navbar-nav li a {
        font-size: 15px !important;
    }
}


/* ======================================================
   UTILITIES
   ====================================================== */

.justify-text {
    text-align: justify;
}

.dark-blue {
    color: #132643;
}

/* Expandable text animation */
.more-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.4s ease;
}

.more-text.show {
    opacity: 1;
}

/* Search modal input */
.ekit_modal-searchPanel .ekit-search-group input[type="search"] {
    background-color: #fff !important;
    color: #111 !important;
    border: 2px solid #ddd;
}


/* ======================================================
   CARD BUTTON LINK
   ====================================================== */

.ciu-card-link {
    display: inline-block;
    padding: 8px 14px;
    background: #f05423;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: auto;
    align-self: flex-start;
}

.ciu-card-link:hover {
    color: #fff !important;
    background: #FF4C43;
}



/* Search Result */
.ciu-search-results-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ciu-search-card {
    display: grid;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.search .ciu-search-card {
    margin-bottom: 0;
}

/* WITH IMAGE */
.ciu-search-card.has-image {
    grid-template-columns: 180px 1fr;
}

/* WITHOUT IMAGE */
.ciu-search-card.no-image {
    grid-template-columns: 1fr;
}	

.ciu-search-card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.ciu-search-results + .pagination,
.pagination,
.ciu-events-pagination {
    margin-top: 40px; /* adjust: 30–60px depending on taste */
}


.pagination li a {
    border: 1px solid #ddd;
    color: #111;
    background: #fff;
    border-radius: 10px;
}

/* DEFAULT */
.pagination li a.page-link {
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
}

/* HOVER */
.pagination li a.page-link:hover {
    color: #F05423;
    border-color: #F05423;
    background: #fff;
}

/* ACTIVE (CURRENT PAGE) */
.pagination li.active a.page-link {
    background: #F05423;
    border-color: #F05423;
    color: #fff;
}

.ciu-search-card-title {
    white-space: normal;
    word-break: normal;
    /*overflow-wrap: break-word;*/
    word-break: keep-all;
    line-height: 1.4;
}

.ciu-search-card-title a {
    text-decoration: none;
    
}

.ciu-search-card-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 14px;
}

.ciu-search-card-btn {
    display: inline-block;
    padding: 10px 14px;
    background: #f05423;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.ciu-search-card-btn:hover {
    background: #ff4c43;
    color: #fff;
}

.ciu-search-card-type {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #862337;
    background: #ede9ff;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
}


@media (max-width: 767px) {
    .ciu-search-card {
        grid-template-columns: 1fr;
    }

    .ciu-search-card-image img {
        height: 220px;
    }

    .ciu-search-card {
        grid-template-columns: 1fr !important;
    }
}

/* Some global styles */

.f-size30 {
  font-size:30px;
}

/* Primary Heading text color */
.pht-color{ 
 color: #120F2D
}
