/*
Theme Name: TanamDerumah
Version: 2.1 (Refactor Starter)
Description: Cleaned structure template generated from existing CSS.
*/

/* ==========================================================================
   01. ROOT VARIABLES
   ========================================================================== */

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */

/* ==========================================================================
   03. LAYOUT & CONTAINER
   ========================================================================== */

/* ==========================================================================
   04. HEADER
   ========================================================================== */

/* ==========================================================================
   05. NAVIGATION
   ========================================================================== */

/* ==========================================================================
   06. MOBILE MENU
   ========================================================================== */

/* ==========================================================================
   07. HERO SECTION
   ========================================================================== */

/* ==========================================================================
   08. SECTION HEADER
   ========================================================================== */

/* ==========================================================================
   09. POSTS GRID & CARD
   ========================================================================== */

/* ==========================================================================
   10. SINGLE ARTICLE
   ========================================================================== */

/* ==========================================================================
   11. SOCIAL SHARE
   ========================================================================== */

/* ==========================================================================
   12. PAGINATION
   ========================================================================== */

/* ==========================================================================
   13. NEWSLETTER
   ========================================================================== */

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

/* ==========================================================================
   15. PLANTS HUB
   ========================================================================== */

/* ==========================================================================
   16. NEWS ARTICLE
   ========================================================================== */

/* ==========================================================================
   17. GARDENING TIPS
   ========================================================================== */

/* ==========================================================================
   18. PARTNERSHIP PAGE
   ========================================================================== */

/* ==========================================================================
   19. UTILITIES & PLACEHOLDER
   ========================================================================== */

/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */


/* --------------------------------------------------------------------------
   ORIGINAL CSS (for migration/reference)
   -------------------------------------------------------------------------- */

/*
Theme Name: TanamDerumah
Theme URI: https://tanamderumah.com
Author: Aziz
Version: 2.0
Description: Portal edukasi tanaman, gardening, green tech, dan berita flora.
*/

/* =========================
   ROOT
========================= */

:root{
    --primary:#2d6a4f;
    --secondary:#40916c;
    --accent:#74c69d;

    --dark:#1f2937;
    --text:#4b5563;
    --light:#f8fafc;
    --border:#e5e7eb;

    --radius:12px;

    --shadow-sm:0 2px 8px rgba(0,0,0,.05);
    --shadow-md:0 6px 20px rgba(0,0,0,.08);
    --shadow-lg:0 12px 30px rgba(0,0,0,.12);

    --container:1200px;
}

/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    font-size:16px;
    line-height:1.7;
    color:var(--text);
    background:#fff;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    color:var(--primary);
    text-decoration:none;
    transition:.25s;
}

a:hover{
    color:var(--secondary);
}

.container{
    max-width:var(--container);
    margin:auto;
    padding:0 20px;
}

/* =========================
   HEADER (Diperbarui)
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Menggeser seluruh konten ke kiri */
    min-height: 80px;
    gap: 40px; /* Jarak antara Logo dan Menu */
}

.custom-logo-link img {
    max-height: 60px;
    width: auto;
}

.site-header .container {
    max-width: 1400px;
    padding-left: 20px; /* Sesuaikan agar logo tidak menempel ke pinggir layar */
    padding-right: 20px;
}

.main-navigation ul {
    display: flex;
    gap: 24px; /* Sedikit lebih lebar agar menu tidak terlalu rapat */
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--dark);
    font-weight: 600;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: var(--primary);
}

/* Mendorong Search Box ke paling kanan */
.header-search {
    margin-left: auto; /* Teknik flexbox untuk mendorong elemen ke ujung kanan */
}

/* =========================
   NEWS TICKER
========================= */

.ticker-wrap{
    background:var(--primary);
    color:#fff;
    overflow:hidden;
    white-space:nowrap;
    padding:12px 0;
}

.ticker{
    display:inline-block;
    padding-left:100%;
    animation:ticker 60s linear infinite;
}

.ticker:hover{
    animation-play-state:paused;
}

@keyframes ticker{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-100%);
    }
}

.ticker-item{
    margin-right:25px;
}

.ticker-item a{
    color:#fff;
}

/* =========================
   HERO
========================= */

.hero-news-section{
    margin:40px 0 60px;
}

.hero-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:24px;
}

.hero-main{
    position:relative;
    overflow:hidden;
    border-radius:var(--radius);
}

.hero-main img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-main-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:40px;
    background:linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    );
    color:#fff;
}

.hero-main-overlay h1{
    font-size:2rem;
    line-height:1.2;
    margin-bottom:10px;
}

.hero-badge{
    display:inline-block;
    background:var(--secondary);
    padding:6px 12px;
    border-radius:20px;
    font-size:.8rem;
    margin-bottom:12px;
}

.hero-side{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.side-news{
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius);
    overflow:hidden;
}

.side-news a{
    display:flex;
    gap:15px;
    padding:12px;
}

.side-news-thumb{
    width:110px;
    height:80px;
    object-fit:cover;
    border-radius:8px;
}

.side-news-content h3{
    font-size:.95rem;
    line-height:1.4;
    color:var(--dark);
}

/* =========================
   SECTION
========================= */

.home-section{
    padding:60px 0;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.section-header h2{
    font-size:2rem;
    color:var(--dark);
}

.section-header a{
    font-weight:700;
}

/* =========================
   POSTS GRID
========================= */

.posts-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.post-card{
    background:#fff;
    border-radius:var(--radius);
    overflow:hidden;
    border:1px solid var(--border);
    transition:.3s;
    display:flex;
    flex-direction:column;
}

.post-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow-md);
}

.post-thumbnail{
    overflow:hidden;
}

.post-thumbnail img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.post-content{
    padding:20px;
    display:flex;
    flex-direction:column;
    flex-grow:1;
}

.post-title{
    min-height:70px;
    margin-bottom:12px;
}

.post-title a{
    color:var(--dark);
    font-size:1.2rem;
    font-weight:700;
}

.post-excerpt{
    min-height:90px;
    color:var(--text);
    font-size:.95rem;
}

.read-more{
    margin-top:auto;
    font-weight:700;
}

/* =========================
   SINGLE ARTICLE
========================= */

.single .site-header .container {
    max-width: 1400px;
}

.entry-header{
    margin:50px 0 30px;
    text-align:center;
}

.entry-title{
    font-size:3rem;
    line-height:1.2;
    color:var(--dark);
    margin-bottom:15px;
}

.entry-meta{
    color:#6b7280;
    font-size:.95rem;
}

.entry-content{
    font-size:1.1rem;
    line-height:1.9;
}

.entry-content h2,
.entry-content h3{
    margin-top:40px;
    margin-bottom:15px;
    color:var(--dark);
}

.entry-content p{
    margin-bottom:20px;
}

.entry-content ul,
.entry-content ol{
    margin-bottom:20px;
    padding-left:25px;
}

.entry-content img{
    margin:30px auto;
    border-radius:var(--radius);
}

.post-thumbnail{
    margin-bottom:35px;
}

/* =========================
   SHARE
========================= */

.social-share{
    margin-top:50px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.share-btn{
    display:inline-flex;
    align-items:center;
    padding:10px 18px;
    border-radius:30px;
    background:var(--primary);
    color:#fff;
    border:none;
    cursor:pointer;
}

.share-btn:hover{
    background:var(--secondary);
    color:#fff;
}

/* =========================
   PAGINATION
========================= */

.pagination{
    margin-top:50px;
    text-align:center;
}

.pagination .page-numbers{
    display:inline-block;
    padding:10px 15px;
    border:1px solid var(--border);
    margin:0 4px;
    border-radius:8px;
}

/* =========================
   NEWSLETTER
========================= */

.newsletter-section{
    padding:80px 0;
    background:var(--primary);
    color:#fff;
    text-align:center;
}

.newsletter-section h2{
    margin-bottom:15px;
}

.newsletter-form{
    max-width:600px;
    margin:30px auto 0;
    display:flex;
    gap:10px;
}

.newsletter-form input{
    flex:1;
    padding:15px;
    border:none;
    border-radius:8px;
}

.newsletter-form button{
    border:none;
    padding:15px 25px;
    background:#fff;
    color:var(--primary);
    font-weight:700;
    border-radius:8px;
    cursor:pointer;
}

/* =========================
   FOOTER
========================= */

.site-footer{
    background:#111827;
    color:#d1d5db;
    padding:70px 0 30px;
}

.footer-widgets{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

.site-info{
    margin-top:40px;
    padding-top:30px;
    border-top:1px solid rgba(255,255,255,.1);
    text-align:center;
}

/* =========================
   PLANTS HUB
========================= */

.plant-header-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    margin-bottom:50px;
}

.stats-box{
    background:#f8fafc;
    padding:25px;
    border-radius:12px;
    border-left:4px solid var(--primary);
}

.plant-gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    transition: transform 0.2s;
}
.plant-gallery img:hover {
    transform: scale(1.05);
}

/* =========================
   MOBILE
========================= */

@media(max-width:1024px){

    .posts-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero-grid{
        grid-template-columns:1fr;
    }

    .footer-widgets{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .main-navigation ul{
        flex-wrap:wrap;
        gap:15px;
        justify-content:center;
    }

    .entry-title{
        font-size:2rem;
    }

    .posts-grid{
        grid-template-columns:1fr;
    }

    .plant-header-grid{
        grid-template-columns:1fr;
    }

    .footer-widgets{
        grid-template-columns:1fr;
    }

    .newsletter-form{
        flex-direction:column;
    }

    .hero-main img{
        height:350px;
    }

    .hero-main-overlay{
        padding:25px;
    }

    .hero-main-overlay h1{
        font-size:1.5rem;
    }
	}
	
/* =========================
   SEARCH
========================= */

.header-search input{
    width:220px;
    padding:10px 15px;
    border:1px solid var(--border);
    border-radius:30px;
    outline:none;
    margin-left:20px;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu-toggle{
    display:none;
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
}

.mobile-menu{
    display:none;
    background:#fff;
    border-top:1px solid var(--border);
}

.mobile-nav{
    list-style:none;
    padding:20px;
}

.mobile-nav li{
    margin-bottom:12px;
}

.mobile-nav a{
    display:block;
    padding:10px 0;
    font-weight:600;
}

.mobile-menu.active{
    display:block;
}

@media(max-width:768px){

    .main-navigation{
        display:none;
    }

    .header-search{
        display:none;
    }

    .mobile-menu-toggle{
        display:block;
    }

}
	
/* =========================
   FOOTER V2
========================= */

.footer-column h3,
.footer-column h4{
    color:#fff;
    margin-bottom:20px;
}

.footer-column p{
    color:#cbd5e1;
}

.footer-column ul{
    list-style:none;
}

.footer-column li{
    margin-bottom:10px;
}

.footer-column a{
    color:#cbd5e1;
}

.footer-column a:hover{
    color:#fff;
}

.footer-newsletter{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:15px;
}

.footer-newsletter input{
    padding:12px;
    border:none;
    border-radius:8px;
}

.footer-newsletter button{
    border:none;
    padding:12px;
    border-radius:8px;
    background:var(--secondary);
    color:#fff;
    cursor:pointer;
    font-weight:600;
}

.footer-tagline{
    opacity:.7;
    margin-top:8px;
    font-size:.9rem;
}

.site-info{
    text-align:center;
}
	
/* =========================
   ARTICLE
========================= */

.article-category{
    display:inline-block;
    padding:8px 16px;
    border-radius:30px;
    background:var(--accent);
    color:#fff;
    margin-bottom:20px;
    font-size:.85rem;
    font-weight:600;
}

.entry-meta{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:15px;
}

.entry-footer{
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid var(--border);
}

.article-tags{
    margin-top:20px;
}

.related-posts{
    margin-top:80px;
}

.related-posts h2{
    margin-bottom:30px;
    font-size:2rem;
    color:var(--dark);
}

.post-navigation{
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-top:60px;
    padding-top:30px;
    border-top:1px solid var(--border);
}

.nav-previous,
.nav-next{
    flex:1;
}

.nav-next{
    text-align:right;
}

@media(max-width:768px){

    .entry-meta{
        flex-direction:column;
        gap:8px;
    }

    .post-navigation{
        flex-direction:column;
    }

    .nav-next{
        text-align:left;
    }

}

	/* =========================
   PLANTS HUB V2
========================= */

.plant-single{
    margin-top:40px;
}

.back-link{
    display:inline-block;
    margin-bottom:25px;
    font-weight:600;
}

.plant-title{
    font-size:3rem;
    line-height:1.2;
    color:var(--dark);
}

.scientific-name{
    font-style:italic;
    color:#64748b;
    margin-top:10px;
    margin-bottom:25px;
    font-size:1.2rem;
}

.plant-image img{
    width:100%;
    border-radius:12px;
}

.stats-box ul{
    list-style:none;
    margin-top:15px;
}

.stats-box li{
    padding:12px 0;
    border-bottom:1px solid var(--border);
}

.stats-box li:last-child{
    border-bottom:none;
}

.plant-content{
    margin-top:50px;
}

.plant-content h2{
    margin-bottom:20px;
    color:var(--dark);
}

.plant-content p{
    margin-bottom:20px;
}

@media(max-width:768px){

    .plant-title{
        font-size:2rem;
    }

}
	
/* =========================
   NEWS ARTICLE
========================= */

.single-news-container{
    max-width:900px;
}

.news-header{
    text-align:center;
    margin:50px 0 35px;
}

.news-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    background:var(--primary);
    color:#fff;
    font-size:.85rem;
    font-weight:600;
    margin-bottom:20px;
}

.news-featured-image{
    margin-bottom:20px;
}

.news-featured-image img{
    width:100%;
    border-radius:12px;
}

.image-caption{
    font-size:.9rem;
    color:#64748b;
    text-align:center;
    margin-bottom:35px;
    font-style:italic;
}

.news-article .entry-content{
    font-size:1.15rem;
    line-height:1.95;
}

.news-article .entry-content p{
    margin-bottom:24px;
}

.news-article .entry-content h2{
    margin-top:40px;
    margin-bottom:15px;
}

.news-article .entry-content blockquote{
    margin:30px 0;
    padding:20px;
    border-left:4px solid var(--primary);
    background:#f8fafc;
}

.news-article .entry-content img{
    margin:30px auto;
    border-radius:12px;
}

@media(max-width:768px){

    .single-news-container{
        max-width:100%;
    }

}

.single-news-page {
    padding: 50px 0 100px;
}

.single-news-container {
    padding-bottom: 100px;
}

.news-header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
}

.news-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #166534;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.entry-title {
    margin-bottom: 20px;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #64748b;
}

.news-featured-image {
    margin: 40px 0 20px;
}

.news-featured-image img {
    width: 100%;
    border-radius: 20px;
}

.image-caption {
    margin-bottom: 40px;
    text-align: center;
    font-size: .9rem;
    color: #64748b;
}

.entry-content {
    margin-top: 40px;
}

.social-share {
    margin-top: 50px;
}

.related-posts {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid #e2e8f0;
}

.related-posts h2 {
    margin-bottom: 0px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .25s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.post-thumbnail img,
.post-thumbnail-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.post-thumbnail img {
    object-fit: cover;
    display: block;
}

.post-thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #64748b;
}

.post-title {
    margin: 18px;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.post-navigation {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.post-navigation a {
    text-decoration: none;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-navigation {
        flex-direction: column;
    }

    .nav-next {
        text-align: left;
    }
}
	
/* =========================
   GARDENING TIPS
========================= */

.single-tips-container{
    max-width:900px;
}

.tips-header{
    text-align:center;
    margin:50px 0 35px;
}

.tips-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    background:var(--secondary);
    color:#fff;
    font-size:.85rem;
    font-weight:600;
    margin-bottom:20px;
}

.tip-highlight{
    background:#eefaf2;
    border-left:5px solid var(--primary);
    padding:25px;
    border-radius:12px;
    margin-bottom:40px;
}

.tip-highlight h3{
    margin-bottom:10px;
    color:var(--primary);
}

.tip-highlight p{
    margin:0;
}

.tips-cta{
    margin-top:50px;
    padding:30px;
    background:#f8fafc;
    border-radius:12px;
    text-align:center;
}

.tips-cta h3{
    margin-bottom:10px;
    color:var(--dark);
}

.tips-cta p{
    margin-bottom:20px;
}

.tips-article .entry-content h2{
    margin-top:40px;
    margin-bottom:15px;
}

.tips-article .entry-content ul,
.tips-article .entry-content ol{
    padding-left:25px;
}

.tips-article .entry-content li{
    margin-bottom:10px;
}
/* HEADER FIX */

.site-header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
}

.site-header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:80px;
}

.site-branding{
    flex-shrink:0;
}

.site-branding img{
    max-height:60px;
    width:auto;
}

.main-navigation{
    margin-left:auto;
}

.main-navigation .nav-menu{
    display:flex;
    align-items:center;
    gap:24px;
    list-style:none;
}

.main-navigation .nav-menu li{
    margin:0;
}

.mobile-menu{
    display:none;
}

.mobile-menu.active{
    display:block;
}

.mobile-nav{
    list-style:none;
    padding:15px 20px;
}

.mobile-nav li{
    margin:0;
}

.mobile-nav a{
    display:block;
    padding:12px 0;
    border-bottom:1px solid #eee;
}

/* DESKTOP */

@media(min-width:769px){

    .mobile-menu,
    .mobile-menu-toggle{
        display:none !important;
    }

}

/* MOBILE */

@media(max-width:768px){

    .main-navigation{
        display:none !important;
    }

    .header-search{
        display:none !important;
    }

    .mobile-menu-toggle{
        display:block;
        font-size:28px;
        border:none;
        background:none;
        cursor:pointer;
    }

	/* HERO SIDEBAR */

.side-news{
min-height:110px;
}

.side-news a{
display:flex;
align-items:center;
gap:15px;
height:100%;
padding:12px;
}

.side-news-thumb,
.side-news-placeholder{
width:120px;
height:90px;
min-width:120px;
border-radius:8px;
overflow:hidden;
}

.side-news-thumb{
object-fit:cover;
}

.side-news-placeholder{
display:flex;
align-items:center;
justify-content:center;
background:#2d6a4f;
color:#fff;
font-size:13px;
font-weight:700;
text-align:center;
}

.side-news-content{
flex:1;
}

.side-news-content h3{
font-size:15px;
line-height:1.4;
margin-bottom:6px;

```
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;

overflow:hidden;
```

}

.side-news-content span{
display:block;
font-size:14px;
color:#64748b;
}

	.tdr-placeholder{
    width:100%;
    height:240px;
    background:linear-gradient(
        135deg,
        #2d6a4f,
        #40916c
    );

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    font-size:24px;
    font-weight:700;

    text-align:center;
}

.hero-placeholder{
    width:100%;
    height:500px;
    background:linear-gradient(
        135deg,
        #2d6a4f,
        #40916c
    );

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    font-size:48px;
    font-weight:700;
}

.side-news-placeholder{
    width:120px;
    height:90px;
    min-width:120px;

    background:linear-gradient(
        135deg,
        #2d6a4f,
        #40916c
    );

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    font-size:11px;
    font-weight:700;
    text-align:center;

    border-radius:8px;
}
	
.page-container{
    max-width:900px;
    margin:60px auto;
}

.page-container .entry-title{
    font-size:3rem;
    margin-bottom:30px;
    color:var(--dark);
}

.page-container .entry-content{
    font-size:1.1rem;
    line-height:1.9;
}

.page-container .entry-content p{
    margin-bottom:20px;
}

	.partnership-hero{
    padding:100px 0;
    background:linear-gradient(135deg,#2d6a4f,#40916c);
    color:#fff;
    text-align:center;
}

.partnership-hero h1{
    font-size:3rem;
    margin:20px 0;
}

.partnership-hero p{
    max-width:700px;
    margin:auto;
    opacity:.95;
}

.hero-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    background:rgba(255,255,255,.15);
}

.hero-buttons{
    display:flex;
    gap:15px;
    justify-content:center;
    margin-top:30px;
    flex-wrap:wrap;
}

.btn{
    padding:14px 28px;
    border-radius:10px;
    font-weight:700;
    display:inline-block;
}

.btn-primary{
    background:#fff;
    color:#2d6a4f;
}

.btn-outline{
    border:2px solid #fff;
    color:#fff;
}

.partnership-section{
    padding:80px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.service-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:30px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.service-icon{
    font-size:40px;
    margin-bottom:15px;
}

.partnership-benefits{
    background:#f8fafc;
    padding:80px 0;
}

.benefit-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.benefit-item{
    background:#fff;
    padding:20px;
    border-radius:12px;
}

.partnership-cta{
    padding:100px 0;
    text-align:center;
    background:#111827;
    color:#fff;
}

@media(max-width:768px){

    .service-grid{
        grid-template-columns:1fr;
    }

    .benefit-grid{
        grid-template-columns:1fr;
    }

    .partnership-hero h1{
        font-size:2rem;
    }

}
	
}
/* Styling Placeholder Thumbnail Hijau */
.tdr-placeholder {
    width: 100%;
    height: 200px; /* Sesuaikan tinggi ini dengan kebutuhan */
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px; /* Sesuaikan dengan radius card kamu */
}

/* Pastikan gambar atau placeholder tampil proporsional di grid */
.post-thumbnail img, 
.post-thumbnail .tdr-placeholder {
    width: 100%;
    object-fit: cover;
}

/* Placeholder Hijau Universal */
.tdr-placeholder {
    background: linear-gradient(135deg, #2d6a4f, #40916c) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-weight: bold;
    text-align: center;
}
/* 1. Perbaikan Lebar Konten Artikel */
.single .container {
    max-width: 900px; /* Artikel jadi lebih lega tapi tetap nyaman dibaca */
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Perbaikan Gambar Hero di Single Post */
.entry-featured-image img, 
.single .wp-post-image {
    width: 100%;
    height: auto; /* Mengikuti ukuran asli gambar, tidak dipaksa pendek */
    max-height: 500px; /* Batasi maksimal tinggi agar tidak terlalu panjang */
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

/* 3. Menghilangkan paksaan tinggi jika sebelumnya ada */
.entry-content img {
    height: auto !important;
}

/* 4. Memastikan teks tidak berantakan */
.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
}
/* --- KEMBALIKAN RESPONSIVITAS DI HP --- */
@media (max-width: 768px) {
    /* Paksa tata letak kembali menjadi 1 kolom (atas-bawah) */
    .plant-header-grid,
    .hero-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Sesuaikan gambar agar tidak memakan terlalu banyak ruang vertikal di HP */
    .plant-image img,
    .entry-featured-image img,
    .post-thumbnail img {
        max-height: 300px !important;
        width: 100% !important;
    }
    
    /* Pastikan kontainer tidak meluber ke samping */
    .single .container,
    .page-container {
        padding: 0 15px !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
}
/* ==========================================================================
   PERBAIKAN MOBILE MENU
   ========================================================================== */

/* Pastikan header relatif agar menu mobile bisa menempel dengan pas di bawahnya */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.mobile-menu {
    display: none;
    background: #ffffff;
    position: absolute; /* Membuat menu melayang di atas konten */
    top: 100%; /* Turun tepat di bawah header */
    left: 0;
    width: 100%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); /* Bayangan lembut ke bawah */
    border-top: 1px solid var(--border);
    z-index: 998;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin: 0;
    border-bottom: 1px solid #f3f4f6; /* Garis pemisah antar menu yang tipis/elegan */
}

.mobile-nav li:last-child {
    border-bottom: none; /* Hilangkan garis di item paling bawah */
}

.mobile-nav a {
    display: block;
    padding: 16px 20px; /* Area sentuh diperbesar agar ramah jari */
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark); /* Warna teks diubah gelap agar lebih terbaca */
    transition: all 0.3s ease;
}

/* Efek saat menu ditahan/disentuh (Hover/Active) */
.mobile-nav a:hover, 
.mobile-nav a:active {
    color: var(--primary); /* Teks berubah hijau */
    background-color: #f8fafc; /* Latar belakang sedikit abu-abu */
    padding-left: 25px; /* Efek bergeser sedikit ke kanan yang modern */
}

/* Tombol Hamburger (Toggle) */
.mobile-menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 28px;
    color: var(--dark);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

/* Aturan Tampil Hanya di HP */
@media (max-width: 768px) {
    .main-navigation, 
    .header-search {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}
/* --- MENU MOBILE ELEGAN (DROPDOWN RAPI) --- */

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 10px 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    list-style: none;
    padding: 0 20px;
}

.mobile-nav li {
    margin-bottom: 5px;
}

/* Desain tombol menu */
.mobile-nav a {
    display: block;
    padding: 12px 20px;
    color: #1f2937; /* Hitam */
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Efek saat diklik: Hijau background, Teks Putih */
.mobile-nav a:hover,
.mobile-nav a:active {
    background-color: var(--primary);
    color: #ffffff;
}

/* Hamburger yang minimalis */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1f2937;
}

@media(max-width: 768px) {
    .mobile-menu-toggle { display: block; }
}
/* ==========================================================================
   MOBILE MENU DROPDOWN ELEGAN (FIXED POSITIONING)
   ========================================================================== */

/* Memastikan header menjadi patokan posisi dropdown */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

/* Kotak Dropdown Menu Mobile */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%; /* Turun tepat di bawah batas bawah header */
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); /* Bayangan halus di bawah menu */
    border-top: 1px solid var(--border);
    padding: 15px 20px;
    z-index: 998;
}

/* Ketika JavaScript menambahkan class .active */
.mobile-menu.active {
    display: block;
    animation: slideDownMenu 0.2s ease-out;
}

/* Animasi turun tipis yang smooth saat menu dibuka */
@keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reset list bawaan WordPress */
.mobile-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-nav li {
    list-style: none !important;
    margin-bottom: 6px;
}

.mobile-nav li:last-child {
    margin-bottom: 0;
}
/* --- CSS RESPONSIVE UNTUK HP --- */
@media (max-width: 768px) {
    .site-header-inner {
        flex-wrap: wrap; /* Membolehkan elemen pindah baris jika tidak muat */
        justify-content: center; /* Mengatur logo ke tengah di HP */
        gap: 15px;
        padding: 10px 0;
    }

    .main-navigation ul {
        gap: 10px; /* Jarak menu lebih rapat di HP */
        font-size: 14px; /* Memperkecil font menu agar muat */
        overflow-x: auto; /* Memungkinkan menu di-scroll ke samping jika kepanjangan */
        max-width: 100%;
        padding-bottom: 5px;
    }

    .header-search {
        display: none; /* Sembunyikan search di HP agar header tidak berantakan, atau pindahkan posisinya */
    }
}
/* --- MENCEGAH HORIZONTAL SCROLL DI SELURUH HALAMAN --- */
html, body {
    max-width: 100vw;
    overflow-x: hidden; /* Mengunci halaman agar tidak bisa digeser ke samping */
}

/* --- PERBAIKAN HEADER DI HP AGAR TIDAK LEBAR --- */
@media (max-width: 768px) {
    .site-header-inner {
        flex-wrap: wrap; /* Pastikan elemen turun ke bawah jika tidak muat, bukan memanjang ke samping */
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box; /* Penting! Mencegah padding menambah lebar elemen */
    }

    .main-navigation ul {
        flex-wrap: wrap; /* Memaksa item menu turun ke baris baru jika kepanjangan */
        justify-content: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

/* Styling Link Menu: Default Tulisan Hitam, Tanpa Bullet */
.mobile-nav a {
    display: block;
    padding: 12px 20px;
    color: #1f2937; /* Hitam Elegan */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Efek Klik/Tap/Hover: Latar Belakang Hijau, Tulisan Putih */
.mobile-nav a:hover,
.mobile-nav a:active,
.mobile-nav .current-menu-item > a {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

/* Desain Tombol Hamburger */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #1f2937;
    padding: 5px;
    line-height: 1;
}

/* Aktifkan hamburger hanya pada resolusi smartphone */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
    }
}
/* --- HAPUS PAKSA SEMUA BULLET DI MENU MOBILE --- */
.mobile-menu ul, 
.mobile-menu li, 
.mobile-nav, 
.mobile-nav ul, 
.mobile-nav li {
    list-style: none !important; /* Mematikan bullet */
    list-style-type: none !important; /* Memastikan tipe list mati */
    padding-left: 0 !important; /* Menghapus jarak indentasi */
    margin-left: 0 !important;
}

/* Memastikan tidak ada background atau border yang nyeleneh */
.mobile-menu ul {
    background: none !important;
}
.plant-page {
    padding: 50px 0 100px;
}

.plant-header-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

.scientific-name {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 12px;
}

.other-names {
    color: #64748b;
    margin-bottom: 24px;
}

.stats-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
}

.stats-box ul {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.stats-box li {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

.stats-box li:last-child {
    border-bottom: 0;
}

.plant-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.plant-gallery img {
    border-radius: 12px;
}

.plant-content {
    margin-top: 60px;
}

.related-plants {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid #e2e8f0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.related-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: .25s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.related-card h3 {
    padding: 18px 18px 8px;
    font-size: 1rem;
}

.related-card p {
    padding: 0 18px 18px;
    color: #64748b;
}

@media (max-width: 768px) {
    .plant-header-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
/* Membuat teks paragraf rata kanan-kiri (justified) */
.entry-content p {
    text-align: justify;
}
/* ==========================================================================
   SINGLE PLANT DATABASE REFINED UI
   ========================================================================== */

.plant-breadcrumb {
    margin-bottom: 30px;
}

.plant-breadcrumb .back-link {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

/* Grid Layout Visual & Data */
.plant-header-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.plant-main-image img {
    border-radius: var(--radius);
    width: 100%;
    object-fit: cover;
}

/* Gallery Grid Bawah Gambar Utama */
.plant-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.plant-gallery-grid img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.plant-gallery-grid img:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Tipografi Judul */
.plant-title-wrapper {
    margin-bottom: 30px;
}

.plant-title-wrapper .plant-title {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.1;
}

.plant-title-wrapper .scientific-name {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 10px;
}

.plant-title-wrapper .other-names {
    color: #64748b;
    font-size: 1rem;
}

/* Info Cards (Klasifikasi & Perawatan) */
.info-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
}

.card-heading {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* Data Grid Ilmiah */
.scientific-card .data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.data-item {
    display: flex;
    flex-direction: column;
}

.data-label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.data-value {
    font-size: 1.05rem;
    color: var(--dark);
}

/* List Perawatan */
.care-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.care-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.care-list .icon {
    font-size: 1.5rem;
    line-height: 1;
}

.care-list strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 3px;
}

.care-list p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Responsivitas Layar Kecil */
@media (max-width: 768px) {
    .plant-header-grid {
        grid-template-columns: 1fr;
    }
    
    .scientific-card .data-grid,
    .care-list {
        grid-template-columns: 1fr;
    }
    
    .plant-title-wrapper .plant-title {
        font-size: 2.2rem;
    }
}
/* ==========================================================================
   SINGLE PLANT DATABASE v4 CSS
   ========================================================================== */

.plant-breadcrumb {
    margin-bottom: 30px;
}

.plant-breadcrumb .back-link {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

/* Grid Top: Visual & Data Identitas */
.plant-header-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.plant-main-image img {
    border-radius: var(--radius);
    width: 100%;
    object-fit: cover;
}

.plant-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.plant-gallery-grid img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.plant-gallery-grid img:hover {
    transform: translateY(-3px);
}

/* Info Cards Umum */
.info-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
}

.card-heading {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* Grid Data Card (Klasifikasi & Fisik) */
.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.data-item {
    display: flex;
    flex-direction: column;
}

.data-label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 3px;
}

.data-value {
    font-size: 1.05rem;
    color: var(--dark);
    line-height: 1.4;
}

/* Extended Care Section (Baru) */
.extended-care-section {
    margin-bottom: 50px;
    background: #ffffff; /* Beda warna dengan sidebar agar menonjol */
    box-shadow: var(--shadow-sm);
}

.extended-care-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
    display: inline-block;
}

.care-list-grid {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Kolom di Desktop */
    gap: 30px 20px;
}

.care-list-grid li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.care-list-grid .icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.care-list-grid strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.care-list-grid p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Tipografi */
.plant-title-wrapper { margin-bottom: 30px; }
.plant-title { font-size: 2.8rem; color: var(--dark); margin-bottom: 5px; line-height: 1.1; }
.scientific-name { font-size: 1.4rem; color: var(--primary); font-weight: 400; margin-bottom: 10px; }
.other-names { color: #64748b; font-size: 1rem; }

/* Responsif */
@media (max-width: 1024px) {
    .care-list-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Kolom di Tablet */
    }
}

@media (max-width: 768px) {
    .plant-header-grid {
        grid-template-columns: 1fr;
    }
    .data-grid {
        grid-template-columns: 1fr;
    }
    .care-list-grid {
        grid-template-columns: 1fr; /* 1 Kolom di HP */
        gap: 20px;
    }
    .plant-title {
        font-size: 2.2rem;
    }
}
@media (max-width: 768px) {
    .hero-main-overlay p {
        display: none;
    }

    .hero-main-overlay {
        padding: 20px;
    }
}
.related-posts {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid #e9ecef;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: start;
}

.post-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    height: auto;
}

.post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.post-thumbnail {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card-content {
    padding: 20px;
}

.post-meta {
    font-size: .85rem;
    color: #666;
    margin-bottom: 10px;
}

.post-title {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.post-excerpt {
    color: #666;
    line-height: 1.7;
    margin: 0;
}
.related-posts {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid #e9ecef;
}

.related-posts h2 {
    margin-bottom: 30px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: start;
}

.post-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: .25s ease;
}

.post-card:hover {
    transform: translateY(-6px);
}

.post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.post-thumbnail {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card-content {
    padding: 20px;
}

.post-meta {
    font-size: .85rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.post-title {
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0 0 12px;
}

.post-title:hover {
    color: #2d6a4f;
}

.post-excerpt {
    margin: 0;
    color: #666;
    line-height: 1.7;
    font-size: .95rem;
}
.plant-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plant-main-image {
    overflow: hidden;
    border-radius: 18px;
    background: #f8fafc;
}

.plant-main-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: opacity .25s ease;
}

.plant-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.gallery-thumb {
    padding: 0;
    border: 2px solid transparent;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s ease;
}

.gallery-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    transform: translateY(-3px);
    border-color: #22c55e;
}

.gallery-thumb.active {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .15);
}
.plant-visuals,
.plant-gallery-wrapper,
.plant-main-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.plant-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}