/**
 * TalentPie digital marketing theme — shared layout styles
 * Used by blogs.php and blog.php
 */

:root {
    --dm-ink: #0c1b2a;
    --dm-primary: #B01A69;
    --dm-primary-dark: #8d1253;
    --dm-accent: #f0c75e;
    --dm-soft: #f7f1f6;
    --dm-mist: #f0e5ef;
    --dm-cream: #fff8f0;
    --dm-muted: rgba(12, 27, 42, 0.68);
    --dm-border: rgba(12, 27, 42, 0.08);
    --dm-radius-lg: 20px;
    --dm-radius-md: 16px;
    --dm-shadow: 0 16px 36px rgba(12, 27, 42, 0.08);
}

body.dm-theme {
    font-family: "Manrope", "Poppins", sans-serif;
    color: var(--dm-ink);
    background-color: #fff;
    overflow-x: hidden;
}

.dm-theme h1,
.dm-theme h2,
.dm-theme h3,
.dm-theme h4,
.dm-theme .display-font {
    font-family: "Cormorant Garamond", "Manrope", serif;
}

/* Site header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--dm-border);
}

.dm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-logo img {
    width: 84px;
    height: auto;
}

.header-phone {
    font-weight: 600;
    color: var(--dm-primary);
    text-decoration: none;
    border: 1px solid rgba(176, 26, 105, 0.2);
    padding: 8px 18px;
    border-radius: 999px;
    background: #fff;
}

.header-phone:hover,
.header-phone:focus {
    color: var(--dm-primary-dark);
    border-color: rgba(176, 26, 105, 0.4);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-nav a {
    text-decoration: none;
    color: rgba(12, 27, 42, 0.7);
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 2px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.header-nav a:hover,
.header-nav a:focus,
.header-nav a.active {
    color: var(--dm-primary);
    border-bottom: 2px solid var(--dm-primary);
}

.strip-ggs {
    background-color: var(--dm-primary-dark);
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

.strip-ggs-link {
    display: inline-block;
    padding: 10px 0;
    color: #fff;
    text-decoration: none;
}

.section-pad {
    padding: 80px 0;
}

.section-cream {
    background: var(--dm-cream);
}

.hero-wrap {
    position: relative;
    background: radial-gradient(circle at top left, rgba(176, 26, 105, 0.12), transparent 55%),
        linear-gradient(135deg, #fdf7fb, #ffffff 55%, #fff5e6);
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(176, 26, 105, 0.12);
    color: var(--dm-primary-dark);
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.95rem;
}

.badge-soft {
    display: inline-block;
    background: rgba(176, 26, 105, 0.12);
    color: var(--dm-primary-dark);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-dm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--dm-primary);
    color: #fff;
    border-radius: 999px;
    padding: 14px 32px;
    font-weight: 700;
    border: none;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-dm:hover,
.btn-dm:focus {
    background: var(--dm-primary-dark);
    color: #fff;
}

.btn-dm-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid rgba(176, 26, 105, 0.35);
    color: var(--dm-primary);
    padding: 12px 30px;
    font-weight: 600;
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-dm-outline:hover,
.btn-dm-outline:focus {
    background: var(--dm-primary);
    color: #fff;
    border-color: var(--dm-primary);
}

@media (max-width: 991px) {
    .section-pad {
        padding: 60px 0;
    }

    .header-nav {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-phone {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .strip-ggs-link span {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}
