/*
Theme Name: Pennies
Description: Exact replica of getpennies.com - Award-winning budgeting app landing page
Author: The App Shop
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pennies
*/

/* Import original CSS files */
@import url('assets/css/core/reset.css');
@import url('assets/css/core/base-responsive.css');
@import url('assets/css/screen.css');
@import url('assets/css/base-layout.css');

/* Import responsive CSS */
@media screen and (min-width: 480px) {
    @import url('assets/css/480.css');
}

@media screen and (min-width: 768px) {
    @import url('assets/css/768.css');
}

@media screen and (min-width: 1024px) {
    @import url('assets/css/1024.css');
}

/* Additional WordPress-specific styles */

/* WordPress body classes compatibility */
body.home,
body.page,
body.single {
    margin: 0;
    padding: 0;
}

/* WordPress admin bar compatibility */
body.admin-bar {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        margin-top: 46px;
    }
}

/* WordPress alignments */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignwide {
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* WordPress gallery styles */
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
    text-align: center;
    font-size: 0.9em;
    margin: 0.5em 0;
}

/* WordPress comment styles */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Accessibility improvements */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* WordPress specifics that don't interfere with original design */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Blog page specific styles for WordPress */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.blog-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.blog-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    margin-bottom: 1rem;
}

.blog-category {
    font-family: 'gotham-rounded-bold';
    font-size: 1.2rem;
    color: #e76851;
    background: rgba(231, 104, 81, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-item h3 {
    font-family: 'gotham-rounded-light';
    font-size: 2rem;
    line-height: 2.6rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: #1a1a1a;
}

.blog-item h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-item h3 a:hover {
    color: #e76851;
}

.blog-excerpt {
    margin-bottom: 2rem;
}

.blog-excerpt p {
    font-family: 'proxima-nova-regular';
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #666;
    margin: 0;
}

.blog-item .button {
    font-family: 'gotham-rounded-bold';
    font-size: 1.4rem;
    padding: 12px 24px;
    border-radius: 25px;
    background: #1a1a1a;
    color: white;
    border: 2px solid #1a1a1a;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-item .button:hover {
    background: #e76851;
    border-color: #e76851;
    transform: translateY(-2px);
}

/* Single post specific styles */
.post-meta {
    font-family: 'proxima-nova-regular';
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

/* Override center alignment for single blog post content */
.single .panel .post-content {
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.single .panel .post-content p,
.single .panel .post-content li,
.single .panel .post-content blockquote {
    text-align: left;
}

.single .panel .post-content h2,
.single .panel .post-content h3,
.single .panel .post-content h4,
.single .panel .post-content h5,
.single .panel .post-content h6 {
    text-align: left;
}

/* Fix bullet points and lists */
.single .panel .post-content ul,
.single .panel .post-content ol {
    text-align: left;
    padding-left: 2rem;
    margin-bottom: 2rem;
    margin-left: 0;
}

.single .panel .post-content ul {
    list-style-type: disc;
    list-style-position: outside;
}

.single .panel .post-content ol {
    list-style-type: decimal;
    list-style-position: outside;
}

.single .panel .post-content li {
    margin-bottom: 0.8rem;
    padding-left: 0;
    text-align: left;
    font-family: 'proxima-nova-regular';
    font-size: 1.8rem;
    line-height: 2.8rem;
    color: #333;
}

/* Nested lists */
.single .panel .post-content ul ul,
.single .panel .post-content ul ol,
.single .panel .post-content ol ul,
.single .panel .post-content ol ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

/* Improve font consistency */
.single .panel .post-content {
    font-family: 'proxima-nova-regular';
    color: #333;
}

.single .panel .post-content strong,
.single .panel .post-content b {
    font-family: 'ProximaNovaBold';
    font-weight: normal;
}

/* Special styling for Key Takeaways and Table of Contents sections */
.single .panel .post-content h3 + ul,
.single .panel .post-content h4 + ul {
    margin-top: 1rem;
}

/* Ensure consistent spacing for all content elements */
.single .panel .post-content > *:first-child {
    margin-top: 0;
}

.single .panel .post-content > *:last-child {
    margin-bottom: 0;
}

/* Fix link styling - make them look like proper links */
.single .panel .post-content a {
    color: #e76851;
    text-decoration: underline;
    font-family: 'proxima-nova-regular';
    transition: all 0.3s ease;
}

.single .panel .post-content a:hover {
    color: #d55a43;
    text-decoration: none;
}

.single .panel .post-content a:visited {
    color: #c44832;
}

/* Fix faded text - improve contrast for better readability */
.single .panel .post-content p {
    color: #2a2a2a !important;
    font-family: 'proxima-nova-regular';
    font-size: 1.8rem;
    line-height: 2.8rem;
    margin-bottom: 2rem;
}

/* Ensure all text elements have proper contrast */
.single .panel .post-content,
.single .panel .post-content li,
.single .panel .post-content blockquote {
    color: #2a2a2a !important;
}

/* Style specific sections professionally - H3 are the main section titles */
.single .panel .post-content h3 {
    color: #1a1a1a !important;
    font-family: 'gotham-rounded-bold' !important;
    font-size: 2.6rem !important;
    line-height: 3.2rem !important;
    margin-top: 4rem !important;
    margin-bottom: 2rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 3px solid #e76851 !important;
    position: relative !important;
    text-align: left !important;
}

.single .panel .post-content h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e76851;
    border-radius: 2px;
}

.single .panel .post-content h4 {
    color: #1a1a1a !important;
    font-family: 'gotham-rounded-bold' !important;
    font-size: 2rem !important;
    line-height: 2.6rem !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
}

/* Professional typography enhancements */
.single .panel .post-content blockquote {
    background: rgba(231, 104, 81, 0.08);
    border-left: 4px solid #e76851;
    padding: 1.8rem 2.4rem;
    margin: 2.5rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
    color: #2a2a2a !important;
    font-family: 'proxima-nova-regular';
}

/* Improve list item spacing and readability */
.single .panel .post-content li {
    color: #2a2a2a !important;
    margin-bottom: 1rem;
    line-height: 2.6rem;
}

/* Better emphasis styling */
.single .panel .post-content em,
.single .panel .post-content i {
    font-style: italic;
    color: #2a2a2a;
}

/* Code styling if needed */
.single .panel .post-content code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #2a2a2a;
}

/* Professional spacing between sections */
.single .panel .post-content h2 + p,
.single .panel .post-content h3 + p,
.single .panel .post-content h4 + p {
    margin-top: 0.5rem;
}

/* Force bullet points to show - override any list-style: none */
.single .panel .post-content ul {
    list-style-type: disc !important;
    list-style-position: outside !important;
    list-style: disc !important;
    padding-left: 2.5rem !important;
    margin-left: 0 !important;
    margin-bottom: 2rem !important;
    text-align: left !important;
}

.single .panel .post-content ol {
    list-style-type: decimal !important;
    list-style-position: outside !important;
    list-style: decimal !important;
    padding-left: 2.5rem !important;
    margin-left: 0 !important;
    margin-bottom: 2rem !important;
    text-align: left !important;
}

/* Override the centered panel styling completely for blog content */
.single .panel.centered .post-content {
    text-align: left !important;
}

.single .panel.centered .post-content ul,
.single .panel.centered .post-content ol {
    text-align: left !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
    padding-left: 2.5rem !important;
}

.single .panel.centered .post-content ol {
    list-style-type: decimal !important;
}

/* Style the estimated reading time text - target it more specifically */
.single .wrapper-inner.panel.centered .post-content > p:first-child {
    font-size: 1.4rem !important;
    font-weight: normal !important;
    font-style: normal !important;
    text-align: left !important;
    color: #666 !important;
    margin-bottom: 2rem !important;
    font-family: 'proxima-nova-regular' !important;
}

/* Alternative targeting for estimated reading time */
.single .panel .content .post-content > p:first-of-type {
    font-size: 1.4rem !important;
    font-weight: normal !important;
    font-style: normal !important;
    text-align: left !important;
    color: #666 !important;
    margin-bottom: 2rem !important;
    font-family: 'proxima-nova-regular' !important;
}

.post-meta time {
    color: #999;
}

.post-category {
    font-family: 'gotham-rounded-bold';
    color: #e76851;
    text-transform: uppercase;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.panel.tint h1 {
    font-family: 'gotham-rounded-light';
    font-size: 3.2rem;
    line-height: 3.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.post-excerpt {
    font-family: 'proxima-nova-regular';
    font-size: 1.8rem;
    line-height: 2.6rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-style: italic;
}

.post-featured-image {
    margin-top: 2rem;
    text-align: center;
}

.post-featured-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.post-content {
    font-family: 'proxima-nova-regular';
    font-size: 1.8rem;
    line-height: 2.8rem;
    color: #333;
}

.post-content h2 {
    font-family: 'gotham-rounded-bold';
    font-size: 2.8rem;
    line-height: 3.4rem;
    color: #1a1a1a;
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #e76851;
    position: relative;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e76851;
    border-radius: 2px;
}

/* Override for single blog posts to ensure proper styling */
.single .panel .post-content h2 {
    font-family: 'gotham-rounded-bold' !important;
    font-size: 2.8rem !important;
    line-height: 3.4rem !important;
    color: #1a1a1a !important;
    margin-top: 4rem !important;
    margin-bottom: 2rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 3px solid #e76851 !important;
    position: relative !important;
    text-align: left !important;
}

.single .panel .post-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e76851;
    border-radius: 2px;
}

.post-content h3 {
    font-family: 'gotham-rounded-bold';
    font-size: 2.6rem;
    line-height: 3.2rem;
    color: #1a1a1a;
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #e76851;
    position: relative;
}

.post-content h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e76851;
    border-radius: 2px;
}

.post-content h4 {
    font-family: 'gotham-rounded-bold';
    font-size: 2rem;
    line-height: 2.6rem;
    color: #1a1a1a;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-content p {
    margin-bottom: 2rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 2.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-content blockquote {
    background: rgba(231, 104, 81, 0.05);
    border-left: 4px solid #e76851;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.post-content ul,
.post-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
    list-style: none; /* This was removing bullets - need to override it */
}

.post-content li {
    margin-bottom: 0.8rem;
}

.post-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.post-tags p {
    font-family: 'gotham-rounded-light';
    font-size: 1.6rem;
}

.tag-link {
    color: #e76851;
    text-decoration: none;
    font-family: 'gotham-rounded-bold';
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    background: rgba(231, 104, 81, 0.1);
    margin: 0 0.3rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #e76851;
    color: white;
    transform: translateY(-2px);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.post-navigation .button {
    font-family: 'gotham-rounded-bold';
    font-size: 1.4rem;
    padding: 12px 24px;
    border-radius: 25px;
    background: white;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-navigation .button:hover {
    background: #e76851;
    border-color: #e76851;
    color: white;
    transform: translateY(-2px);
}

/* Hero h2 with desktop class - preserve original styling */
.hero h2.desktop {
    font-family: 'proxima-nova-regular';
    font-size: 2.2rem;
    line-height: 3.2rem;
    color: #1a1a1a;
    font-weight: normal;
    text-align: center;
}

/* Smaller screens - add top margin and keep centered */
@media screen and (max-width: 1023px) {
    .hero h2.desktop {
        margin-top: 2rem;
    }
}

/* Desktop - left align the hero description and remove extra margin */
@media screen and (min-width: 1024px) {
    .hero h2.desktop {
        text-align: left;
        margin-top: 0;
    }
}

/* Related posts section styling */
.panel h2 {
    font-family: 'gotham-rounded-bold';
    font-size: 2.8rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 0;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.related-post-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
}

.related-post-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.related-post-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.related-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 2rem;
}

.related-post-meta {
    font-family: 'proxima-nova-regular';
    font-size: 1.3rem;
    color: #999;
    margin-bottom: 1rem;
}

.related-post-item h3 {
    font-family: 'gotham-rounded-light';
    font-size: 1.8rem;
    line-height: 2.4rem;
    margin: 0;
    color: #1a1a1a;
}

.related-post-item h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-item h3 a:hover {
    color: #e76851;
}

.comments-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.blog-pagination {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.blog-pagination .page-numbers {
    font-family: 'gotham-rounded-bold';
    display: inline-block;
    padding: 12px 20px;
    margin: 0 6px;
    background: white;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.blog-pagination .page-numbers:hover {
    background: #e76851;
    border-color: #e76851;
    color: white;
    transform: translateY(-2px);
}

.blog-pagination .page-numbers.current {
    background: #1a1a1a;
    color: white;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    padding: 12px 24px;
    font-size: 1.3rem;
}

.blog-pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.blog-pagination li {
    display: inline-block;
}

/* Blog navbar styling */
.blog-navbar {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.blog-navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-navbar-brand a {
    display: block;
}

.blog-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.blog-logo:hover {
    transform: scale(1.05);
}

.blog-navbar-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.blog-nav-link {
    font-family: 'gotham-rounded-bold';
    font-size: 1.6rem;
    color: #1a1a1a;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.blog-nav-link:hover {
    color: #e76851;
    background: rgba(231, 104, 81, 0.1);
}

.blog-nav-link.active {
    color: white;
    background: #e76851;
}

.blog-nav-link.active:hover {
    background: #d55a43;
}

.panel.tint h2 {
    font-family: 'gotham-rounded-bold';
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.panel.tint p {
    font-family: 'proxima-nova-regular';
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 2.2rem;
}

/* Empty state styling */
.blog-grid + .full h3 {
    font-family: 'gotham-rounded-light';
    font-size: 2.4rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 1.5rem;
}

.blog-grid + .full p {
    font-family: 'proxima-nova-regular';
    font-size: 1.8rem;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 2.6rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .blog-item {
        border-radius: 8px;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-item h3 {
        font-size: 1.8rem;
        line-height: 2.3rem;
    }
    
    .blog-excerpt p {
        font-size: 1.5rem;
        line-height: 2.2rem;
    }
    
    .blog-category {
        font-size: 1.1rem;
    }
    
    .blog-pagination .page-numbers {
        padding: 10px 16px;
        font-size: 1.3rem;
    }
    
    .blog-pagination .page-numbers.prev,
    .blog-pagination .page-numbers.next {
        padding: 10px 20px;
        font-size: 1.2rem;
    }
    
    /* Blog navbar responsive */
    .blog-navbar-content {
        padding: 0 1rem;
    }
    
    .blog-navbar-nav {
        gap: 1rem;
    }
    
    .blog-nav-link {
        font-size: 1.4rem;
        padding: 6px 12px;
    }
    
    .blog-logo {
        height: 35px;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
    
    /* Single post responsive */
    .panel.tint h1 {
        font-size: 2.4rem;
        line-height: 2.8rem;
    }
    
    .post-excerpt {
        font-size: 1.6rem;
        line-height: 2.3rem;
    }
    
    .post-content {
        font-size: 1.6rem;
        line-height: 2.5rem;
    }
    
    .post-content h2 {
        font-size: 2rem;
        line-height: 2.4rem;
    }
    
    .post-content h3 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .post-navigation .button {
        font-size: 1.3rem;
        padding: 10px 20px;
        max-width: 100%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Ensure original site layout is preserved */
.wrapper-outer {
    /* Keep original site wrapper styles */
}

.wrapper-inner {
    /* Keep original site inner wrapper styles */
}

/* Hero section specific alignment fixes */
.hero .text-content {
    text-align: center;
}

/* Fix hero title alignment for screens less than 1024px */
@media screen and (max-width: 1023px) {
    .hero .title-text {
        text-align: center;
        margin-top: 3rem;
    }
}

/* Desktop class visibility rules */
@media screen and (min-width: 768px) {
    .desktop {
        display: -moz-inline-stack;
        display: inline-block;
        *display: inline;
        zoom: 1;
    }
    
    /* Footer rules */
    footer {
        padding: 5em 0;
    }
    
    footer ul {
        list-style: none;
    }
    
    footer ul li {
        display: -moz-inline-stack;
        display: inline-block;
        *display: inline;
        zoom: 1;
    }
    
    footer ul li.divider {
        background: url(assets/images/interface/footer-nav-divider.png) center center no-repeat;
        display: -moz-inline-stack;
        display: inline-block;
        *display: inline;
        zoom: 1;
        margin: 0 12px;
        height: 12px;
        width: 4px;
    }
    
    /* Retina display support for footer divider */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        footer ul li.divider {
            background-image: url(assets/images/interface/retina-display/footer-nav-divider.png);
            background-size: 4px 4px;
        }
    }
    
    .watches img {
        width: 60% !important;
    }
}

/* Complete 1024px media query rules from original CSS */
@media screen and (min-width: 1024px) {
    /* Generic iframe sizing */
    iframe {
        height: 563px;
    }
    
    /* Main Layout */
    .wrapper-inner section {
        padding-top: 5em;
    }
    
    .wrapper-inner.blogs section {
        padding-top: 7em;
        padding-bottom: 7em;
    }
    
    .wrapper-inner section .half {
        width: 46%;
        float: left;
    }
    
    .wrapper-inner section.media-then-text .media-content {
        float: left;
    }
    
    .wrapper-inner section.media-then-text .text-content {
        float: right;
    }
    
    /* Panels Generic */
    .panel img {
        margin-top: 8em;
    }
    
    .panel.not-centered {
        text-align: left;
    }
    
    .panel.not-centered p {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .panel h2 {
        margin-bottom: 15px;
    }
    
    /* Hero Panel */
    .hero {
        padding-bottom: 0;
        padding-top: 0;
    }
    
    .hero section {
        padding-top: 2em;
    }
    
    .hero section img {
        margin-top: 0 !important;
        float: right;
    }
    
    .hero section article.desktop {
        display: inline;
        text-align: center;
    }
    
    .hero section article h1 {
        margin-bottom: 32px;
        width: 100%;
        display: -moz-inline-stack;
        display: inline-block;
        *display: inline;
        zoom: 1;
    }
    
    .hero section article h2 {
        margin-bottom: 6em;
        max-width: 420px;
        float: left;
        width: 100%;
    }
    
    .hero section article p:last-child {
        margin-bottom: 30px;
    }
    
    .hero section article .button {
        margin-top: 20px;
    }
    
    .hero .title-text {
        margin-top: 8em;
        text-align: left;
    }
    
    .hero section article {
        margin-top: 6em;
    }
    
    .hero section article .sub {
        margin-bottom: 25px;
    }
    
    .hero section article input.email {
        width: 300px;
        margin-right: 5px;
    }
    
    .hero section article .post-launch {
        margin-top: 6em;
    }
    
    /* Video Panel */
    .teaser section {
        padding-bottom: 9em;
    }
    
    .teaser section iframe {
        margin: 2em auto 5em;
    }
    
    /* USP's Panel */
    .usp {
        padding-bottom: 11em;
    }
    
    .usp .third {
        width: 29.33%;
    }
    
    .usp br.row-three {
        display: block;
    }
    
    .usp br.row-two {
        display: none;
    }
    
    /* Super Simple Panel */
    .super-simple section {
        padding-top: 0;
    }
    
    .super-simple section article.text-content {
        margin-top: 28em;
    }
    
    /* Your History Panel */
    .your-history section {
        padding-top: 0;
    }
    
    .your-history section article.text-content {
        margin-top: 28em;
    }
    
    /* Testimonial Panel */
    .testimonal {
        padding-bottom: 9em;
    }
    
    .testimonal .flexslider .flex-control-paging {
        bottom: -50px;
    }
    
    /* Sign Up Panel */
    .sign-up {
        padding-bottom: 9em;
    }
    
    .sign-up form {
        margin: 6em 0;
    }
    
    .sign-up form input {
        width: 350px;
    }
    
    /* Press Kit Panel */
    .press-kit {
        padding-bottom: 9em;
    }
    
    .press-kit .button {
        margin-top: 35px;
    }
    
    /* Watches */
    .watches img {
        width: 80% !important;
    }
    
    /* App Store Badge */
    .app-store-badge {
        margin: 0;
    }
    
    /* Logo */
    img.logo {
        text-align: left !important;
        float: left !important;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    /* Review Items */
    .review-item {
        margin-top: 4em;
        margin-bottom: 4em;
    }
    
    .review-item .stars {
        font-size: 3em;
        margin-bottom: 0.5em;
    }
    
    .review-item h6 {
        margin-top: 1em;
        font-size: 1.2em;
    }
    
    .review-item p {
        font-size: 2em;
        margin: 0.5em 0;
    }
}

/* Just let the original CSS work - stop overriding everything */
.usp-wrapper {
    display: block;
    overflow: hidden;
}

.usp .third {
    float: left;
    text-align: center;
}

/* Blog Preview Section */
.blog-preview {
    padding-bottom: 5em;
}

.blog-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
    justify-content: center;
}

.blog-preview-item {
    flex: 0 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-preview-image {
    position: relative;
    overflow: hidden;
}

.blog-preview-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-preview-item:hover .blog-preview-image img {
    transform: scale(1.05);
}

.blog-preview-content {
    padding: 1.5rem;
}

.blog-preview-item h3 {
    font-family: 'gotham-rounded-light';
    font-size: 1.8rem;
    line-height: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.blog-preview-item h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-preview-item h3 a:hover {
    color: #e76851;
}

.blog-preview-excerpt {
    margin-bottom: 1.5rem;
}

.blog-preview-excerpt p {
    font-family: 'proxima-nova-regular';
    font-size: 1.6rem;
    line-height: 2.3rem;
    color: #666;
    margin: 0;
}

.blog-preview-cta {
    text-align: center;
    margin-top: 3rem;
}

.blog-preview-cta .button {
    font-size: 1.8rem;
    padding: 15px 30px;
}

.no-blog-posts {
    text-align: center;
    padding: 3rem 0;
    color: #666;
    font-family: 'proxima-nova-regular';
    font-size: 1.6rem;
    line-height: 2.3rem;
}

/* Responsive design for blog preview */
@media screen and (max-width: 768px) {
    .blog-preview-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .blog-preview-item {
        flex: none;
        max-width: 100%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .blog-preview-item {
        flex: 0 1 calc(50% - 1rem);
    }
}


/* Override WordPress defaults that might interfere */
#wpadminbar {
    position: fixed !important;
}

/* Ensure video embeds work correctly */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Keep testimonials styling intact */
.reviews .review-item {
    /* Preserve original review styling */
}

.stars {
    /* Preserve star rating styling */
}

/* Maintain button styles */
.app-store-badge {
    /* Keep original app store badge styling */
}

/* Footer styling preservation */
footer {
    /* Keep original footer styles */
}

/* Ensure responsive behavior is maintained */
@media screen and (max-width: 767px) {
    body.admin-bar {
        margin-top: 46px;
    }
    
    .wrapper-inner {
        /* Mobile-specific adjustments if needed */
    }
}

/* Print styles */
@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a,
    a:visited {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    
    thead {
        display: table-header-group;
    }
    
    tr,
    img {
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
    }
    
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    
    h2,
    h3 {
        page-break-after: avoid;
    }
}