/* Blog styles — matches the legacy WP urbansocial theme palette and
 * typography so the migration is visually transparent.
 *
 * Palette captured from /blog/wp-content/themes/urbansocial/style.css
 * (live, 2026-05-19). Re-extract via:
 *   curl https://www.urbansocial.com/blog/wp-content/themes/urbansocial/style.css
 */

/* ─── Page shell ─────────────────────────────────────────────────── */
body.blog-shell {
    background: #f9fafa;
    color: #575858;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}

.blog-shell .site-header {
    background: #ffffff;
}

.blog-main {
    padding: 1.5rem 0 3rem;
    min-height: 70vh;
}

/* ─── Top placeholder for the future join-form fold ──────────────── */
/* Full-bleed hero band — same urbansocial-au-3.jpg as the main site's
 * .fold. Sits outside the .container so it spans edge-to-edge. The
 * inner .placeholder-card is the dashed area that will be replaced by
 * the new join form. */
.join-fold-placeholder {
    background: url('/dist/img/urbansocial-au-3.jpg') center top / cover no-repeat #3e5c55;
    position: relative;
    padding: 12px 0;
    margin: 0 0 24px;
}
/* Blog uses the shared includes/join_cta.php (register-step-form) dark box.
   Hide its "Join for Free!" heading and un-float/centre + tighten the margins
   so the hero band stays short. */
.join-fold-placeholder .register-step-padding { display: none; }
.join-fold-placeholder .register-step-form {
    float: none;
    margin: 0 auto;
    max-width: 360px;
}
.join-fold-placeholder::before {
    /* Subtle sage tint so the placeholder card reads against the photo */
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(62, 92, 85, 0.25);
    pointer-events: none;
}
.join-fold-placeholder .container {
    position: relative;
    z-index: 1;
}
.join-fold-placeholder .placeholder-card {
    background: rgba(255, 255, 255, 0.92);
    border: 2px dashed #94bda2;
    color: #575858;
    padding: 16px 22px;
    text-align: center;
    border-radius: 4px;
    max-width: 520px;
    margin: 0 auto;
    font-family: Raleway, sans-serif;
    font-size: 13px;
}
.join-fold-placeholder .placeholder-card strong {
    color: #3e5c55;
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 700;
}
.join-fold-placeholder .placeholder-card p {
    margin: 0;
    color: #94bda2;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.join-fold-placeholder .placeholder-card code {
    background: #f3efe6;
    padding: 1px 5px;
    border-radius: 2px;
    color: #b00020;
    text-transform: none;
}

/* ─── Blog heading banner ────────────────────────────────────────── */
.blog-heading {
    display: block;
    background: url('/dist/img/blog/date-ideas-banner.png') center/cover no-repeat;
    background-color: #3e5c55;
    padding: 25px 10px 25px 20px;
    margin-bottom: 20px;
    border-radius: 3px;
}
.blog-heading h1 {
    margin: 0;
    font-family: Handlee, cursive;
    font-size: 28px;
    color: #ffffff;
    font-weight: normal;
}
.blog-heading p {
    color: #ffffff;
    margin-top: 10px;
}

/* ─── Listing — articles as plain blocks (live's pattern) ────────── */
.blog-main article.single {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e6e9e8;
    padding: 0 0 22px;
    margin-bottom: 22px;
}
.blog-main article.single:last-child {
    border-bottom: 0;
}
.blog-main article.single h2,
.blog-main article.single h2 a {
    font-family: Raleway, sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #3e5c55;
    text-decoration: none;
    margin: 0 0 6px;
    line-height: 1.25;
}
.blog-main article.single h2 a:hover {
    color: #ffb049;
}
.blog-main article.single img {
    margin: 10px 20px 10px 0;
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    float: left;
}
.blog-main article.single .blog-meta {
    text-transform: uppercase;
    color: #94bda2;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.04em;
    margin: 0 0 10px;
}
.blog-main article.single .blog-meta a {
    color: #94bda2;
    text-decoration: none;
}
.blog-main article.single .blog-meta a:hover {
    color: #ffb049;
}
.blog-main article.single p {
    font-family: Raleway, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: #575858;
}
.blog-main article.single .read-more {
    display: inline-block;
    margin-top: 8px;
    color: #ffb049;
    font-weight: 600;
    text-decoration: none;
}
.blog-main article.single::after {
    content: "";
    display: table;
    clear: both;
}

/* ─── Breadcrumbs (mirrors live #breadcrumbs theme rules) ─────────── */
.breadcrumbs {
    list-style: none;
    overflow: hidden;
    padding-left: 0;
    margin: 10px 0 20px;
    font-family: Raleway, sans-serif;
    font-size: 16px;
    color: #3e5c55;
}
.breadcrumbs li {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px 0 0;
    color: #3e5c55;
}
.breadcrumbs li.separator {
    font-size: 18px;
    font-weight: 100;
    color: #ccc;
}
.breadcrumbs li a {
    color: #94bda2;
    text-decoration: none;
}
.breadcrumbs li a:hover {
    color: #ffb049;
}
.breadcrumbs li.item-current .bread-current {
    color: #3e5c55;
    font-weight: 700;
    font-family: Raleway, sans-serif;
}

/* ─── Prev/Next post nav (live's pattern, orange buttons) ─────────── */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0 1rem;
}
.post-navigation .nav-prev,
.post-navigation .nav-next {
    display: inline-block;
    background: #ffb049;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 3px;
    text-decoration: none;
    font-family: Raleway, sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
}
.post-navigation .nav-prev:hover,
.post-navigation .nav-next:hover {
    background: #fdb85d;
    color: #ffffff;
}
.post-navigation .nav-next {
    margin-left: auto;
}

/* ─── Single post ────────────────────────────────────────────────── */
article.single-blog {
    background: transparent;
    padding: 0;
}
article.single-blog h1 {
    font-family: Raleway, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #3e5c55;
    margin: 0 0 16px;
    line-height: 1.2;
}
article.single-blog img.featured {
    margin: 0 0 18px;
    max-width: 100%;
    height: auto;
    border-radius: 3px;
}
article.single-blog p {
    font-family: Raleway, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #575858;
}
article.single-blog p.single-meta {
    color: #bbbbbb;
    font-weight: bold;
    font-size: 13px;
    margin: 24px 0 0;
}
article.single-blog p.single-meta a {
    color: #94bda2;
    text-transform: uppercase;
    text-decoration: none;
}
article.single-blog p.meta-tags {
    margin: 12px 0 0;
}
article.single-blog .meta-category {
    display: inline-block;
    background: #3e5c55;
    padding: 6px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.04em;
    margin-right: 6px;
}
article.single-blog .meta-category a {
    color: #ffffff;
    text-decoration: none;
}
article.single-blog .meta-tag {
    display: inline-block;
    background: #a9cfb6;
    padding: 6px 14px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.04em;
    margin-right: 6px;
    margin-bottom: 6px;
}
article.single-blog .meta-tag a {
    color: #ffffff;
    text-decoration: none;
}
article.single-blog .meta-tag:hover {
    background: #94bda2;
}
article.single-blog .meta-tags {
    margin-top: 14px;
}
article.single-blog .post-content h2,
article.single-blog .post-content h3 {
    font-family: Raleway, sans-serif;
    color: #3e5c55;
    margin: 1.5rem 0 0.7rem;
}
article.single-blog .post-content a {
    color: #ffb049;
}
article.single-blog .post-content blockquote {
    border-left: 3px solid #ffb049;
    background: #ffffff;
    margin: 1.2rem 0;
    padding: 0.8rem 1.2rem;
    color: #575858;
    font-style: italic;
}
article.single-blog .post-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

/* ─── Pagination (.nav-links style matches live) ─────────────────── */
.pagination-bar {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin: 2rem 0 0;
    flex-wrap: wrap;
}
.pagination-bar a,
.pagination-bar span {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    background: #ffffff;
    border: 1px solid #d3e5d9;
    border-radius: 3px;
    color: #3e5c55;
    text-decoration: none;
    font-size: 0.9rem;
}
.pagination-bar a:hover {
    background: #ffb049;
    color: #ffffff;
    border-color: #ffb049;
}
.pagination-bar .current {
    background: #3e5c55;
    color: #ffffff;
    border-color: #3e5c55;
    font-weight: 600;
}

/* ─── Sidebar widgets (live's pattern) ───────────────────────────── */
.blog-sidebar .sidebar-widget {
    margin-bottom: 30px;
}
.blog-sidebar .sidebar-widget h3 {
    color: #575858;
    font-family: Raleway, sans-serif;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 12px;
    text-transform: none;
}
.blog-sidebar .sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-sidebar .sidebar-widget li {
    margin: 0.4rem 0;
    font-size: 14px;
}
.blog-sidebar .sidebar-widget li a {
    color: #575858;
    text-decoration: none;
}
.blog-sidebar .sidebar-widget li a:hover {
    color: #ffb049;
}

/* Recent posts widget — title + small square thumbnail */
.blog-sidebar .recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-sidebar .recent-list li {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}
.blog-sidebar .recent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #575858;
    text-decoration: none;
    line-height: 1.35;
}
.blog-sidebar .recent-item:hover .recent-title {
    color: #ffb049;
}
.blog-sidebar .recent-thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 3px;
    background: #d3e5d9;
    display: block;
}
.blog-sidebar .recent-thumb-placeholder {
    /* keeps the row aligned when a post has no featured image */
}
.blog-sidebar .recent-title {
    font-family: Raleway, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #3e5c55;
    display: block;
}

/* Search widget — input with absolute icon (live's pattern) */
.blog-sidebar .search.sidebar-widget form {
    position: relative;
}
.blog-sidebar .search.sidebar-widget input[type="text"] {
    width: 100%;
    padding: 8px 36px 8px 12px;
    border: 1px solid #d3e5d9;
    border-radius: 3px;
    font-size: 15px;
    font-family: Raleway, sans-serif;
    background: #ffffff;
}
.blog-sidebar .search.sidebar-widget form button {
    position: absolute;
    top: 5px;
    right: 4px;
    border: 0;
    background: transparent;
    font-size: 18px;
    color: #3e5c55;
    cursor: pointer;
    padding: 4px 8px;
}

/* Cross-banner ad widget */
.blog-sidebar .crossbanner.sidebar-widget {
    text-align: center;
}
.blog-sidebar .crossbanner.sidebar-widget img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
}

/* Filter / categories list (live uses a coloured panel) */
.blog-sidebar .filter-ul {
    background: #d3e5d9;
    border: 1px solid #c4dccc;
    padding: 4px 18px;
    border-radius: 3px;
    list-style: none;
    margin: 0;
}
.blog-sidebar .filter-ul li {
    border-bottom: 1px solid #c4dccc;
    padding: 6px 4px;
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    font-family: Raleway, sans-serif;
}
.blog-sidebar .filter-ul li:last-child {
    border-bottom: 0;
}
.blog-sidebar .filter-ul li a {
    color: #3e5c55;
    font-weight: 600;
    text-decoration: none;
}
.blog-sidebar .filter-ul li a:hover {
    color: #ffb049;
}

/* ─── Top header tweaks ──────────────────────────────────────────── */
.site-header .top-bar {
    background: #ffffff;
    border-bottom: 1px solid #f0ebe0;
}
.site-header .top-bar h2 {
    color: #575858;
    font-family: Raleway, sans-serif;
    font-size: 13px;
    font-weight: 400;
    margin: 8px 0;
}
.site-header .top-menu-bar {
    background: #ffffff;
    padding: 14px 0;
}
.site-header .top-menu-bar .logo img {
    max-height: 80px;
    width: auto;
    display: block;
}
.site-header .top-menu-bar .right-aligned {
    text-align: right;
}
.site-header .top-menu-bar .right-aligned ul {
    margin-top: 22px;
}
.site-header .top-menu-bar ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}
.site-header .top-menu-bar li {
    display: inline-block;
    margin-left: 1rem;
}
.site-header a.button.button-primary {
    background: #ffb049;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 3px;
    text-decoration: none;
    font-family: Raleway, sans-serif;
    font-weight: 600;
}
.site-header a.button.button-primary:hover {
    background: #fdb85d;
}

/* ─── Footer (self-contained, fuller than the stub) ──────────────── */
.site-footer {
    background: #3e5c55;
    color: #d3e5d9;
    padding: 2.4rem 0 1.4rem;
    margin-top: 3rem;
    font-family: Raleway, sans-serif;
}
.site-footer h5 {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.06em;
    margin: 0 0 0.8rem;
    font-weight: 700;
}
.site-footer .footer-tagline {
    color: #a9cfb6;
    font-size: 14px;
    margin: 0 0 1rem;
    font-family: Handlee, cursive;
    font-size: 18px;
}
.site-footer a {
    color: #d3e5d9;
    text-decoration: none;
}
.site-footer a:hover {
    color: #ffb049;
}
.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}
.site-footer .footer-links li {
    margin: 0.3rem 0;
}
.site-footer .footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 14px;
    border-radius: 3px;
    color: #a9cfb6;
    font-size: 13px;
    text-align: center;
}
.site-footer .footer-newsletter strong {
    display: block;
    color: #ffffff;
    margin-bottom: 4px;
    font-size: 14px;
}
.site-footer .footer-social {
    margin-top: 0.6rem;
    font-size: 18px;
}
.site-footer .footer-social a {
    margin-right: 14px;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.8rem;
    padding-top: 1rem;
    font-size: 12px;
    color: #94bda2;
}
