/*
Theme Name: OklahomaWeek
Theme URI:  https://yourwebsite.com
Author:     Your Name
Description: Custom Oklahoma Week Magazine Theme
Version:    1.0.0
License:    GPL v2 or later
Text Domain: oklahomaweek
*/

/* ... Paste the exact SAME CSS code from my previous message below this line ... */

/* --- General Reset & Typography --- */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 15px 0; }

/* --- Header Styling --- */
.top-bar {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.header-logo h1 { 
    font-size: 28px; 
    font-weight: 300;
    color: #000;
    letter-spacing: 1px;
}
.header-logo h1 .blue { color: #3b82f6; font-weight: 600; }
.social-icons a { margin-right: 12px; color: #555; font-size: 18px; }
.search-form {
    display: flex;
    border: 1px solid #ccc;
    padding: 4px 8px;
    background: #fff;
}
.search-field {
    border: none; outline: none; padding: 6px; width: 180px;
}
.search-form button { border: none; background: transparent; cursor: pointer; color: #666; }

/* Navigation */
.nav-wrapper {
    background: #111;
    color: #fff;
}
.main-navigation ul {
    list-style: none; margin: 0; padding: 0; display: flex; justify-content: center;
}
.main-navigation ul li { margin: 0 20px; }
.main-navigation ul li a {
    display: block;
    padding: 15px 0;
    color: #ddd;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s;
}
.main-navigation ul li a:hover { color: #fff; }
.menu-toggle { display: none; }

/* --- Hero Grid Section --- */
.home-hero-grid {
    position: relative;
    background: #fff;
}
.hero-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.hero-col img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Wavy Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}
.custom-shape-divider-bottom .shape-fill {
    fill: #FFFFFF;
}

/* --- Main Content Area --- */
.main-content-area {
    background: #fff;
    padding: 40px 0 60px;
}
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    color: #3b82f6;
    margin-bottom: 30px;
}

/* Post Card Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.post-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.card-image {
    height: 200px;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.post-card:hover .card-image img {
    transform: scale(1.05);
}
.card-content {
    padding: 15px 20px 20px;
    text-align: center;
}
.card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #333;
}
.card-title a:hover { color: #3b82f6; }
.card-meta {
    font-size: 11px;
    color: #888;
}
.card-meta span { display: inline-block; margin: 0 2px; }

/* Pagination */
.pagination-wrapper {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
}
.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    margin: 0 2px;
    background: #fff;
    color: #333;
    border-radius: 2px;
}
.pagination-wrapper .page-numbers.current {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* --- Footer --- */
.site-footer {
    background: #f9f9f9;
    border-top: 1px solid #eee;
    padding: 30px 0 20px;
    text-align: center;
    color: #3b82f6;
}
.footer-links {
    list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.footer-links li a {
    font-size: 12px;
    font-weight: 600;
}
.copyright {
    margin-top: 15px;
    font-size: 11px;
    color: #777;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .hero-row { grid-template-columns: repeat(2, 1fr); }
    .hero-col img { height: 250px; }
}
@media (max-width: 768px) {
    .top-bar-flex { flex-direction: column; gap: 15px; }
    .nav-wrapper { padding: 10px 0; }
    .main-navigation ul { flex-direction: column; align-items: center; display: none; }
    .main-navigation ul.toggled-on { display: flex; }
    .menu-toggle { display: block; background: transparent; color: #fff; border: 1px solid #fff; padding: 10px; cursor: pointer; margin: 0 auto; }
    .posts-grid { grid-template-columns: 1fr; }
    .hero-row { grid-template-columns: 1fr; }
    .hero-col img { height: 200px; }
}
