/*
Theme Name:  Independent Spirit
Theme URI:   https://example.com/independent-spirit-theme
Author:      Md. Afuar Rahman
Author URI:  https://example.com
Description: A bold, modern WordPress theme for Independent Spirit — black, cyan and lime palette.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digital-marketing-2026
Tags:        business, marketing, custom-menu, featured-images, full-width-template
*/


/* =============================================================================
   1. RESET & BASE
   ============================================================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a2e;
    background-color: #ffffff;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 700;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}


/* =============================================================================
   2. LAYOUT
   ============================================================================= */

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* =============================================================================
   3. CONTENT STYLES
   ============================================================================= */

.site-main {
    padding: 4rem 0;
}

.posts-loop {
    display: grid;
    gap: 2.5rem;
}

.post-card {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1.5rem;
    transition: box-shadow 0.22s ease;
}

.post-card:hover {
    box-shadow: 0 4px 20px rgba(10, 36, 99, 0.09);
}

.post-card .entry-title {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.post-card .entry-title a:hover {
    text-decoration: underline;
}

.post-card .entry-meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.post-card .entry-summary {
    color: #444;
    line-height: 1.75;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.entry-content {
    max-width: 760px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 1.75rem 0 0.75rem;
}

.entry-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.entry-content a {
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 4rem 0;
    color: #64748b;
}


/* =============================================================================
   4. RESPONSIVE
   ============================================================================= */

@media ( max-width: 768px ) {
    .page-title {
        font-size: 1.75rem;
    }
}
