:root {
    --color-primary: #ff9f1c;
    --color-accent: #ffe066;
    --color-dark-bg: #4e342e;
    --color-light-bg: #fffdf8;
    --color-white: #ffffff;
    --color-text: #333333;
}
body {
    background-color: var(--color-light-bg);
    color: var(--color-text);
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 2.4;
    margin: 0;
    padding: 0;
}
a {
    color: var(--color-primary);
    text-decoration: none;
}
a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}
.container {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media screen and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    .post-card {
        padding: 1rem 0.75rem;
    }
}
header {
    background-color: var(--color-primary);
}
.footer {
    background-color: var(--color-dark-bg);
    color: var(--color-white);
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}
.breadcrumb-nav {
    margin-bottom: 1rem;
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}
.breadcrumb-item {
    margin-right: 0.5rem;
    color: var(--color-text);
}
.breadcrumb-item::after {
    content: ">";
    margin-left: 0.5rem;
    color: #999;
}
.breadcrumb-item:last-child::after {
    content: "";
    margin: 0;
}
.breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}
.btn-tsk {
    background-color: var(--color-primary);
    color: white;
}
.btn-tsk:hover {
    background-color: var(--color-accent);
    color: dark;
}
.custom-navbar {
    background-color: var(--color-primary);
    padding: 0.5rem 1rem;
}
.custom-navbar .navbar-brand {
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.5rem;
}
.custom-navbar .navbar-toggler i {
    color: var(--color-white);
}
.custom-navbar .nav-link {
    color: var(--color-white);
    font-weight: 500;
    transition: color 0.3s;
}
.custom-navbar .nav-link:hover {
    color: var(--color-accent);
}
.hero-section {
    background-image: url('../img/top.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 1;
}
.hero-overlay {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.hero-text {
    max-width: 800px;
}
.hero-section h1 {
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
@media (max-width: 768px) {
    .hero-text {
        text-align: center;
    }
    .hero-section h1{
        font-size: 25px !important;
    }
}
.about-section {
    background-color: var(--color-light-bg);
    color: var(--color-text);
}
.about-text {
    font-size: 1rem;
    line-height: 1.8;
}
.latest-posts-section {
    background-color: #f8f5f0;
}
.section-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color-primary);
    padding-left: 1rem;
    border-left: 6px solid var(--color-primary);
    margin: 2rem 0 1rem 0;
}
.post-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}
.post-thumbnail img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
}
.post-content {
    margin-left: 1rem;
    flex: 1;
}
.post-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-primary);
    margin: 0 0 0.5rem 0;
}
.post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.5rem;
}
.post-excerpt {
    font-size: 0.95rem;
    line-height: 2.4;
    margin: 0;
}
@media (max-width: 768px) {
    .post-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .post-thumbnail img {
        width: 100%;
        max-width: 280px;
        height: auto;
        margin-bottom: 1rem;
    }
    .post-content {
        margin-left: 0;
    }
}
.blog-cta-section {
    background-color: var(--color-dark-bg);
    padding: 3rem 1rem;
    text-align: center;
    color: white !important;
}
.blog-cta-title {
    font-size: 1.55rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white !important;
}
.blog-cta-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.category-list-section {
    background-color: var(--color-white);
    padding: 3rem 1rem;
}
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}
.category-list-item {
    background-color: var(--color-light-bg);
    border: 1px solid #ddd;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s;
}
.category-list-item a {
    color: var(--color-dark-bg);
    text-decoration: none;
}
.category-list-item:hover {
    background-color: var(--color-accent);
}
.profile-section {
    background-color: var(--color-light-bg);
    padding: 2rem 1rem;
}
.profile-block {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.profile-block .profile-image {
    flex: 0 0 auto;
    margin-right: 1rem;
}
.profile-block .profile-image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}
.profile-block .profile-text {
    flex: 1;
}
.profile-heading {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}
.profile-link {
    color: var(--color-dark-bg);
    text-decoration: none;
    transition: color 0.2s;
}
.profile-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
.profile-paragraph {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: #555;
}
@media (max-width: 768px) {
    .profile-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-block .profile-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .profile-block .profile-text {
        text-align: center;
    }
}
.site-footer {
    background-color: var(--color-dark-bg);
    color: #ffffff;
    padding: 3rem 1rem 1rem 0;
    text-align: center;
    font-size: 0.85rem;
}
.footer-inner {
    max-width: 960px;
    margin: 0 auto;
}
.footer-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}
.footer-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
}
.footer-links li a:hover {
    text-decoration: underline;
}
/* index.php */
.index-posts-section {
    margin: 4rem 0;
}
.post-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.post-card-link {
    text-decoration: none;
    color: inherit;
}
.post-card {
    display: flex;
    flex-direction: row;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
    padding: 1rem;
}
.post-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.post-thumbnail {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}
.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}
.post-card-content {
    flex: 1;
    padding-left: 1rem;
}
.post-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
}
.post-meta {
    font-size: 0.95rem;
    color: #666;
}
.post-excerpt {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.read-more {
    font-size: 1rem;
    color: var(--color-primary);
}
.read-more i {
    margin-left: 0.25rem;
}
@media screen and (max-width: 768px) {
    .post-card {
        flex-direction: column;
        align-items: center;
    }
    .post-thumbnail {
        width: 100%;
        height: auto;
    }
    .post-card-content {
        padding-left: 0;
        padding-top: 1rem;
        text-align: center;
    }
}
.custom-pagination {
    margin: 3rem 0 0;
    text-align: center;
}
.custom-pagination .pagination {
    justify-content: center;
    gap: 8px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}
.custom-pagination .page-item {
    margin: 0;
}
.custom-pagination .page-link {
    color: #333;
    font-weight: 500;
    border: none;
    border-radius: .5rem;
    padding: 0.5rem 0.9rem;
    transition: background-color 0.2s ease;
}
.custom-pagination .page-link:hover {
    background-color: var(--color-accent);
    color: #000;
}
.custom-pagination .page-item.active .page-link {
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 600;
}
.single-post-section {
    margin: 4rem 0;
}
.single-post-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
@media screen and (max-width: 768px) {
    .single-post-content {
        padding: .5rem;
    }
}
.single-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color-primary);
    border-left: 6px solid var(--color-primary);
    padding-left: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.single-date {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 1.5rem;
}
.single-thumbnail {
    margin: 1.5rem auto 2rem;
    max-width: 680px;
    padding: 0.5rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.single-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
}
.single-content {
    font-size: 1rem;
    line-height: 2.4;
    color: var(--color-text);
}
.single-content h2,
.single-content h3 {
    border-left: 4px solid var(--color-primary);
    padding-left: 0.75rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    color: var(--color-text);
}
.single-content h2 {
    font-size: 1.5rem;
}
.single-content h3 {
    font-size: 1.25rem;
}
.single-content p {
    margin-bottom: 1.25rem;
}
.single-content img.aligncenter,
.page img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.image-credit {
    text-align: center;
}
.page-section {
    margin: 4rem 0;
}
.page-article {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.page-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color-primary);
    border-left: 6px solid var(--color-primary);
    padding-left: 1rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.page-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}
.page-content h2,
.page-content h3 {
    border-left: 4px solid var(--color-primary);
    padding-left: 0.75rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    color: var(--color-text);
}
.page-content h2 {
    font-size: 1.5rem;
}
.page-content h3 {
    font-size: 1.25rem;
}
.page-content p {
    margin-bottom: 1.25rem;
}
.page-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}
.wpcf7-form p {
    margin-bottom: 1.5rem;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    background-color: #fff;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(255, 159, 28, 0.2);
}
.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}
.wpcf7-submit {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.wpcf7-submit:hover {
    background-color: var(--color-accent);
    color: #000;
}