/*
 Theme Name:   Neve Child
 Theme URI:    https://www.leliamsilver.com/neve-child/
 Description:  Neve Child Child Theme
 Author:       Timothy Putman
 Author URI:   https://www.leliamsilver.com
 Template:     neve
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  nevechild
*/

.rtr-article {
	margin-bottom: 3.5rem;
}

.rtr-author-line {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rtr-author-line img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.nv-post-thumbnail-wrap img {
    width: 300px;
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hero section with featured image background */
.rtr-hero {
    width: 100%;
    height: 300px; /* adjust as needed */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

/* Optional dark overlay for readability */
.rtr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* adjust opacity */
}

/* Title styling */
.rtr-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.rtr-hero-title {
    color: #fff;
    font-size: 2.5rem;
    margin: 0;
}
@media (max-width: 768px) {
    .rtr-hero {
        height: 200px;
    }

    .rtr-hero-title {
        font-size: 1.8rem;
    }
}



/* Room to Roam cover-style hero */
.single-room-to-roam .rtr-cover-hero {
    width: 100%;
    min-height: 260px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Hero section with featured image background */
.rtr-hero {
    width: 100%;
    height: 300px; /* adjust as needed */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem !important;
    position: relative;
}

/* Optional dark overlay for readability */
.rtr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* adjust opacity */
}

/* Title styling */
.rtr-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
	padding: 7px;
}

.rtr-hero-title {
    color: #fff;
    font-size: 2.5rem;
    margin: 0;
}

@media (max-width: 768px) {
    .rtr-hero {
        height: 200px;
    }

    .rtr-hero-title {
        font-size: 1.8rem;
    }
}


.single-room-to-roam .entry-title {
    display: none;
}

.single-room-to-roam .author-name {
    display: none;
}

.rtr-author-line-center {
    justify-content: center;
    text-align: center;
}

/* Remove Header Title Author Info */
.single-room-to-roam .entry-header {
    display: none;
}

/* Outer wrapper */
.rtr-global-header {
    background: #B1E5EF; /* light neutral background */
    padding: 0.75rem 0.75rem;
    border-top: 2px solid #000000;
	border-bottom: 2px solid #000000;
}

/* Flex layout for logo + text */
.rtr-global-header-inner {
    display: flex;
    align-items: center;
	justify-content: center;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Logo sizing */
.rtr-logo {
    width: 120px;       /* adjust this number to taste */
    height: auto;
    flex-shrink: 0;    /* prevents squishing */
    border-radius: 4px; /* optional: softens corners */
}

.rtr-text {
	color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;   /* centers tagline under the title */
}

/* Text block */
.rtr-text h1 {
	margin: 0;
    font-size: 2rem;
    line-height: 1.2;
}

.rtr-tagline {
	margin: 0.25rem 0 0;
    font-size: 1rem;
    opacity: 0.8;
}

.rtr-links {
  display: inline-flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.rtr-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.rtr-links a:hover {
  color: #f57c00;
  text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .rtr-global-header-inner {
        flex-direction: column;
        text-align: center;
    }

    .rtr-logo {
        width: 70px;
    }
}


.rtr-author-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #999999;
    border-radius: 8px;
	margin-top: 2rem;
    margin-bottom: 2rem;
}

.rtr-author-info h2 {
    margin: 0;
    font-size: 1.6rem;
}

.rtr-author-bio {
    margin-top: 0.5rem;
    font-size: 1rem;
    opacity: 0.85;
}

@media (max-width: 600px) {
    .rtr-author-card {
        flex-direction: column;
        text-align: center;
    }
}

.rtr-author-avatar-card img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}
.rtr-author-avatar-card {
    width: 180px;
    flex-shrink: 0;
}

/* Pagination */
.archive-container .pagination {
    text-align: right;
    margin-top: 30px;
}

.archive-container .pagination a,
.archive-container .pagination span {
    font-size: 1.2rem;
    padding: 8px 14px;
    margin-left: 6px;
    border-radius: 4px;
}

.archive-container .pagination .current {
    background: #333;
    color: #fff;
}
