/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme of Astra
Author: Your Name
Author URI: https://yourwebsite.com
Template: astra
Version: 1.0.0
*/

@import url("../astra/style.css");

/* Featured Resource Card Layout */


a:focus {
	outline: none !important;
}

.menu-toggle-close:focus, button#menu-toggle-close {
	border: none !important;
}

.res-featured-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 40px 0;
    min-height: 480px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Left Side Image */
.res-featured-image {
    flex: 1.1; /* Slightly wider than the text side */
    background-size: cover;
    background-position: center;
    min-height: 350px;
}

/* Right Side Content */
.res-featured-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Featured Badge */
.res-badge {
    background: #FFF0EB; /* Light peach */
    color: #FF5722;    /* Vibrant orange */
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 100px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 25px;
}

/* Title Styling */
.res-title {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.res-title a {
	font-size: 36px;
    line-height: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
	text-decoration: none !important;
	
}

/* Excerpt Styling */
.res-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 35px;
}

/* Footer Meta */
.res-meta-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.res-author-img {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    object-fit: cover;
}

.res-author-name {
    font-size: 16px !important;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.res-date-read {
    font-size: 14px;
    color: #777;
    margin-top: 2px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .res-featured-card {
        flex-direction: column;
    }
    .res-featured-content {
        padding: 30px;
    }
    .res-title {
        font-size: 32px;
    }
}

/* Resources type css */

 
    /* Container */
.res-archive-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

/* Header Styling */
.res-archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.res-type-badge {
    background: #FFF0EB;
    color: #FF5722;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.res-archive-title {
    font-size: 48px;
    font-weight: 800;
    color: #111;
    margin: 20px 0;
    line-height: 1.2;
}

.res-archive-desc {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout */
.res-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Styling */
.res-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.res-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.res-card-img-link img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.res-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.res-card-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.res-card-title a {
    color: #111;
    text-decoration: none;
}

.res-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ===========================
   Pagination
=========================== */

.res-pagination {
    display: flex;
    justify-content: center;
    margin: 70px 0 20px;
}

.res-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.res-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #fff;
    color: #101010;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

.res-pagination .page-numbers:hover {
    background: #101010;
    border-color: #101010;
    color: #fff;
}

.res-pagination .page-numbers.current {
    background: #ff3c00;
    border-color: #ff3c00;
    color: #fff;
    cursor: default;
}

.res-pagination .page-numbers.prev,
.res-pagination .page-numbers.next {
    padding: 0 20px;
    min-width: auto;
    font-weight: 700;
}

.res-pagination .dots {
    border: none;
    background: transparent;
    padding: 0 6px;
    color: #888;
    cursor: default;
}

/* Responsive */

@media (max-width: 768px) {

    .res-pagination {
        margin-top: 50px;
    }

    .res-pagination .nav-links {
        gap: 8px;
    }

    .res-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
        padding: 0 14px;
    }

    .res-pagination .page-numbers.prev,
    .res-pagination .page-numbers.next {
        padding: 0 14px;
    }
}

/* Author Footer */
.res-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.res-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.res-author-info {
    display: flex;
    flex-direction: column;
}

.res-author-name {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.res-post-date {
    font-size: 12px;
    color: #999;
}

/* Responsive */
@media (max-width: 992px) {
    .res-archive-grid { grid-template-columns: repeat(2, 1fr); }
    .res-archive-title { font-size: 36px; }
}

@media (max-width: 600px) {
    .res-archive-grid { grid-template-columns: 1fr; }
	
	.res-title a {
		font-size: 26px !important;
		line-height: 32px !important;
	}
}