/*
Theme Name: Kadence Child
Theme URI: https://southaustral.com
Description: A child theme for Kadence.
Author: Yoseph Indra John Saputra
Author URI: https://indrajohn.com.au
Template: kadence
Version: 1.0
*/

/* Import the parent theme's style */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
}

.main-navigation .primary-menu-container>ul>li.menu-item>a {
    color: #555;
}

.main-navigation .primary-menu-container>ul>li.menu-item.current-menu-item>a {
    color: #fff;
}

.main-navigation .primary-menu-container>ul>li.menu-item.current-menu-item {
    background-color: #f3a532;
    border-radius: 5px;
}


.main-navigation .primary-menu-container>ul>li.menu-item:hover>a {
    color: #fff;
}

.main-navigation .primary-menu-container>ul>li.menu-item:hover {
    background-color: #f3a532;
    border-radius: 5px;
}

.main-navigation .primary-menu-container>ul>li.menu-item {
    margin-left: 8px;
    margin-right: 8px;
}

footer {
    background-color: #3c4754;
    color: #ffffff;
    padding: 40px 20px;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: #f3a532;
}

footer hr {
    border: 1px solid #555;
}

footer input,
footer button {
    font-size: 14px;
    margin: 5px 0;
}

div.contact-footer {
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Latest Blogs Section Styling */
.latest-blogs-section {
    text-align: center;
    margin: 40px 0;
    font-family: 'Roboto', sans-serif;
}

.latest-blogs-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.latest-blogs-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.latest-blogs-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.latest-blog-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    width: 300px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.latest-blog-item .blog-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.latest-blog-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.latest-blog-item h3 a {
    color: #0073aa;
    text-decoration: none;
}

.latest-blog-item h3 a:hover {
    color: #005680;
    text-decoration: underline;
}

.latest-blog-item p {
    font-size: 14px;
    color: #555;
    margin: 0 0 15px;
}

.read-more-link {
    display: inline-block;
    font-size: 14px;
    color: #0073aa;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #005680;
    text-decoration: underline;
}



/* Footer Section */
div.contact-footer .footer-section {
    margin-bottom: 10px;
}

div.contact-footer .footer-heading {
    font-size: 36px;
    margin: 10px 0;
    color: #fff;
}

div.contact-footer .contact-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

/* Footer Contact */
div.contact-footer .footer-contact .contact-number {
    font-size: 48px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    div.contact-footer .footer-heading {
        font-size: 28px;
    }

    div.contact-footer .contact-icon {
        font-size: 36px;
    }

    div.contact-footer .contact-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    div.contact-footer .footer-heading {
        font-size: 20px;
    }

    div.contact-footer .contact-icon {
        font-size: 24px;
    }

    div.contact-footer .contact-number {
        font-size: 28px;
    }
}


/* Custom Blog Template Styles */
.custom-archive-blog-container {
    margin: 20px auto;
    max-width: 1200px;
}

.custom-archive-blog-header {
    text-align: center;
    margin-bottom: 20px;
}

.custom-archive-blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.custom-archive-blog-post-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

.custom-archive-post-thumbnail-img {
    max-width: 100%;
    border-radius: 5px;
}

.custom-archive-post-title {
    font-size: 1.25rem;
    margin-top: 10px;
}

.custom-archive-post-meta {
    font-size: 0.9rem;
    color: #666;
}

.custom-archive-read-more {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.custom-archive-read-more:hover {
    text-decoration: underline;
}

.custom-archive-pagination {
    margin-top: 20px;
    text-align: center;
}


.custom-archive-pagination a {
    padding: 8px 12px;
    text-decoration: none;
    background-color: #f3a532;
    border-radius: 5px;
    color: #fff;
}

.custom-archive-pagination span.current {
    padding: 8px 12px;
    text-decoration: none;
    background-color: #d68b27;
    border-radius: 5px;
    color: #fff;
}

.custom-archive-pagination a.prev,
.custom-archive-pagination a.next {
    padding: 8px;
    margin: 8px;
}



/* single post */
/* General Wrapper */
/* General Wrapper */
.custom-single-post {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

/* Post Header */
.custom-post-header {
    margin-bottom: 20px;
}

.custom-post-title {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
}

.custom-post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

/* Featured Image */
.custom-featured-image {
    width: 100%;

}

.custom-featured-image img {
    width: 100%;
    object-fit: cover;
    max-height: 400px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Author Box */
.custom-author-box {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centers the author box content */
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
}

.custom-author-avatar img {
    border-radius: 50%;
    margin-right: 15px;
}

.custom-author-info {
    text-align: left;
    /* Keeps the author's bio aligned */
}

.custom-author-name {
    margin: 0 0 5px;
    font-size: 1.2rem;
}

.custom-author-bio {
    margin: 0;
    color: #666;
}

/* Post Content */
.custom-post-content {
    max-width: 1200px;
    text-align: left;
    /* Main content remains left-aligned */
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
}

/* Social Sharing */
.custom-social-sharing {
    text-align: center;
    /* Centers the sharing buttons */
    margin: 20px 0;
}

.custom-share-text {
    font-size: 1rem;
    margin-bottom: 10px;
}

.custom-social-button {
    margin: 5px;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    display: inline-block;
}

.custom-facebook {
    background: #3b5998;
}

.custom-twitter {
    background: #1da1f2;
}

.custom-pinterest {
    background: #bd081c;
}

.custom-email {
    background: #666;
}

/* Comments Section */
.custom-comments-section {
    margin-top: 40px;
    text-align: left;
    /* Keeps comments aligned properly */
}