/* --- 1. CSS VARIABLES (Single source of truth) --- */
:root {
    --primary-gold: #cfaa43;
    --dark-grey: #333333;
    --light-bg: #fdfcfb;
    --white: #ffffff;
    --font-main: 'Raleway', sans-serif;
}

/* --- 2. BASE RESETS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--dark-grey);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--dark-grey);
    margin-bottom: 1rem;
    padding-top: 25px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* --- 3. LAYOUT CONTAINERS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- 4. GLOBAL BUTTONS --- */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-gold);
    color: white;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background-color: #b59535;
}

/* --- 5. HELPER CLASSES --- */
.text-center { text-align: center; }
.margin-top-md { margin-top: 40px; }

/* Responsive Image Fix */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Specific fix for your blog cards */
.post-img-wrapper img {
    width: 100%;
    height: 250px; /* Forces uniform height in feed */
    object-fit: cover; /* Keeps the aspect ratio without stretching */
}

/* --- Sharing Section Styling --- */
.share-container {
    margin-top: 1px;
    padding-top: 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 3px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    background: #cfaa43;
    color: white;
    transform: translateY(-3px);
}