/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

h1, h2, h3, h4, h5, h6{
font-family: "noka", sans-serif;
font-weight: 800;
font-style: normal;
}

a:active, a:focus {
  outline: 0 !important;
  border: none !important;
  -moz-outline-style: none !important;
}

a, a.menu-link>span{
font-family: "noka", sans-serif;
font-weight: 500;
font-style: normal;
font-size:20px;
}

#mobile-dropdown{
    background-color: #f1f1f2;
}

@media (max-width: 768px) {
    #site-logo #site-logo-inner{
        max-width: 300px;
    }
}

body.single-post #main #content-wrap{
    padding-top:10px;
}

body.single-post #content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: #f1f1f2; /* Moved from body to here for better specificity */
}

body.single-post .blog-hero {
    width: 100%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.25);
    margin: 0 auto 40px auto; /* Centers horizontally and maintains bottom margin */
    height: 50vh;
    max-height: 800px;
    min-height: 600px;
}

body.single-post .blog-title-excerpt {
    width: 40%;
    padding-right: 50px;
    padding-left: 50px;
}

body.single-post .blog-featured-image {
    width: 60%;
    height: 100%;
    border-radius: 0 30px 30px 0;
    overflow: hidden;
}

body.single-post .blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.single-post .blog-content {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

body.single-post h1 {
    color: #333;
}

body.single-post p {
    color: #666;
    line-height: 1.6;
    margin-top: 20px;
    font-size: 20px;
}

@media (max-width: 768px) {

    body.single-post #content-wrap{
        padding: 0 20px;
    }

    body.single-post .blog-hero {
        flex-direction: column;
        height: auto;
        min-height: unset;
        border-radius: 20px;
        margin: 0 auto 40px auto; /* Ensure centering on smaller screens too */
    }

    body.single-post .blog-featured-image {
        width: 100%;
        height: 300px;
        order: -1;
        border-radius: 20px 20px 0 0;
    }

    body.single-post .blog-featured-image img {
        border-radius: 20px 20px 0 0;
    }

    body.single-post .blog-title-excerpt {
        width: 100%;
        padding: 30px 20px;
        text-align: center;
    }

    body.single-post h1 {
        font-size: 1.8em;
    }

    body.single-post p {
        margin-top: 15px;
    }
}

/* New styles for the blog list page, scoped to the custom page template */
body.page-template-template-blog-list #main #content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

body.page-template-template-blog-list #main #content-wrap #content{
    max-width: 1200px;
    padding: 0 30px;
    margin: 0 auto; /* Added to center the #content div itself */
}

body.page-template-template-blog-list .page-header{
    background: transparent;
}

body.page-template-template-blog-list .page-header h1.page-title{
    font-size: 30px;
}

body.page-template-template-blog-list .blog-list {
    width: 100%;
    /* max-width: 1200px; - No longer needed here as #content handles max-width */
    margin-top: 40px;
    margin-left: auto; /* Added to center the blog list */
    margin-right: auto; /* Added to center the blog list */
}

body.page-template-template-blog-list .blog-list-item {
    display: flex;
    align-items: stretch;
    gap: 0;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    overflow: hidden;
    height: 220px;
}

body.page-template-template-blog-list .blog-list-item .featured-image {
    width: 30%;
    flex-shrink: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 30px;
    /* Removed border-radius here to let the parent .blog-list-item handle it */
}

body.page-template-template-blog-list .blog-list-item .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.page-template-template-blog-list .blog-list-item .blog-title-excerpt {
    width: 70%;
    flex-grow: 1;
    padding: 20px 60px;
    /* Removed border-radius here as it was conflicting with parent's overflow hidden */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.page-template-template-blog-list .blog-list-item .blog-title h1 {
    font-size: 1.5em;
    color: #333;
    margin: 0 0 10px 0;
}

body.page-template-template-blog-list .blog-list-item .blog-excerpt p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    body.page-template-template-blog-list .blog-list-item {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 20px;
        height: auto;
    }

    body.page-template-template-blog-list .blog-list-item .featured-image {
        width: 100%;
        height: 200px;
        border-radius: 20px 20px 0 0;
    }

    body.page-template-template-blog-list .blog-list-item .blog-title-excerpt {
        width: 100%;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        text-align: left;
    }

    body.page-template-template-blog-list .blog-list-item .blog-title h1 {
        font-size: 1.3em;
    }

    body.page-template-template-blog-list .blog-list-item .blog-excerpt p {
        font-size: 0.85em;
        -webkit-line-clamp: 4;
    }
}

/* Pagination Styling for Blog List Page */
body.page-template-template-blog-list .oceanwp-pagination {
    display: flex; /* Use flexbox to align items */
    justify-content: center; /* Center the pagination items horizontally */
    align-items: center;
    gap: 10px; /* Space between buttons/numbers */
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

body.page-template-template-blog-list .oceanwp-pagination .page-numbers {
    background-color: #333; /* Default background for numbers */
    color: #ffffff; /* Default text color for numbers */
    padding: 10px 20px;
    border-radius: 15px; /* Rounded corners */
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 40px; /* Ensure a consistent minimum width for numbers */
    text-align: center;
}

body.page-template-template-blog-list .oceanwp-pagination .page-numbers.current {
    background-color: #63b320; /* Green for the current page */
    color: #ffffff;
    font-size: 20px;
}

body.page-template-template-blog-list .oceanwp-pagination .page-numbers.prev,
body.page-template-template-blog-list .oceanwp-pagination .page-numbers.next {
    background-color: #4c6b6c; /* Darker gray-green for prev/next buttons */
    color: #ffffff;
    padding: 10px 25px; /* Slightly more padding for prev/next buttons */
}

body.page-template-template-blog-list .oceanwp-pagination .page-numbers:hover:not(.current) {
    background-color: #7abf2e; /* Lighter green on hover for numbers */
    color: #ffffff;
}

body.page-template-template-blog-list .oceanwp-pagination .page-numbers.prev:hover,
body.page-template-template-blog-list .oceanwp-pagination .page-numbers.next:hover {
    background-color: #5d8182; /* Slightly lighter gray-green on hover for prev/next */
    color: #ffffff;
}

/* Hide the screen reader text visually */
body.page-template-template-blog-list .oceanwp-pagination .screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/*Submit Button Style*/
.wpforms-form input[type=submit],
.wpforms-form button[type=submit] {
    background-color: #004A3F !important; /* background */
    border: 0px solid #004A3F !important; /* border */
    color: #ffffff !important; /* text color */
    font-size: 20px !important; /* Size of text */
    padding: 8px 25px !important; /* Distance between text and border */
    font-family: "noka", sans-serif !important;
font-weight: 500 !important;
font-style: normal !important;
height:50px;
}

/*footer*/

footer#footer #footer-bottom a{
	font-size:12px;
}

#custom-footer-links a{
	font-size:12px;
}