/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme
 Author:       Your Name
 Author URI:   https://yourdomain.com/
 Template:     astra
 Version:      1.0.0
*/




.dogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 15px;
}

.dog-card {
    padding: 15px;
    position: relative;
	font-family: 'DM Sans';
}

.dog-card p {
	margin-top: 10px;
}

.dog-card h3 {
	margin-top: 10px;
	text-decoration: none;
}


/* Image wrapper */
.image-background-protector {
    width: 100%;
    height: 70%; /* control image height */
    overflow: hidden;
    display: block;
}

/* Actual image */
.image-background-protector img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* 🔥 THIS fixes everything */
    object-position: center;
    display: block;
	border-radius: 28px;
}

/* Status badge */
.dog-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 13px;
    color: #fff;
    border-radius: 12px;
}

.status-available .dog-status { background: black; }
.status-reserved .dog-status  { background: orange; }
.status-adopted .dog-status   { background: red; }

.dog-card a {
  text-decoration: none !important;
}

.entry-content :where(h1,h2,h3,h4,h5,h6) {
	margin-bottom: 0px !important;
}
.entry-content p {
	margin-bottom: 0px !important;
margin-top: 5px !important;	
}

.dog-a-button {
    text-decoration: none;
    margin-top: 10px;
    line-height: 50px;
    color: #c49a2d;
    /* background: #c49a2d; */
    padding: 6px 13px;
    border-radius: 12px;
    border: 5px solid #c49a2d;
    font-weight: 900;
    font-size: 17px;
}


.dog-a-button:hover {
	  text-decoration: none;
    margin-top: 10px;
    line-height: 50px;
    color: white;
    background: #c49a2d;
    padding: 7px 15px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 17px;

}














/* ===== DOGY SINGLE PAGE ===== */

.dogy-single-page {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dogy-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.dogy-hero-image img {
    width: 100%;
		height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.dogy-hero-content {
    position: relative;
}

.dogy-title {
    font-size: 42px;
    margin: 15px 0 25px;
}

.dogy-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.dogy-meta li {
    font-size: 18px;
    margin-bottom: 10px;
}

.dogy-status {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    color: #fff;
    margin-bottom: 15px;
}

.dogy-status-available { background: #2ecc71; }
.dogy-status-reserved  { background: #f39c12; }
.dogy-status-adopted   { background: #e74c3c; }

.dogy-cta {
    display: inline-block;
    padding: 14px 32px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}

.dogy-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.dogy-unavailable {
    font-weight: bold;
    color: #999;
}

.dogy-description {
    margin-top: 80px;
    max-width: 800px;
}

.dogy-description h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.dogy-description p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .dogy-hero {
        grid-template-columns: 1fr;
    }

    .dogy-title {
        font-size: 34px;
    }
}




@media (max-width: 768px) {

	.dogy-meta {
		display: none;
	}
	
	
	.dogy-cta {
		    display: inline-block;
    padding: 10px 25px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    
	}
	.dogy-title {
		margin: 0px;
		margin-bottom: 10px;
	} 
}

ul {
	margin: 0px;
	margin-left: 15px;
}





/* new at 3/10/2026 */


@media (max-width: 768px) {
    .image-background-protector {
        height: 380px; /* enough to keep layout intact */
    }
}
	
	@media (max-width: 768px) {
    .dog-card {
        min-height: 350px; /* ensures card height stays consistent */
    }
}


.dogs-grid h3 {
    margin-top: 10px;
    margin-bottom: 5px;
}

.dogs-grid p {
    margin-top: 5px;
    margin-bottom: 5px;
}