
/* ==============================
   iNaturalist Dashboard
   ============================== */


/* Monthly section */
.inat-month-block {
    margin-bottom: 40px;
}


/* Month heading */
.inat-month-title {
    margin: 15px 0 10px;
    font-size: 20px;
    font-weight: 700;
}


/* Older month collapse button */
.inat-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
	font-family: inherit;

    background: none;
    border: none;

    padding: 10px 0;
    margin: 15px 0 10px;

    font-size: 20px;
    font-weight: 700;

    text-align: left;
    cursor: pointer;

    color: inherit;
}


/* Plus/minus icon */
.inat-toggle-icon {
    display: inline-block;

    width: 24px;
    height: 24px;

    line-height: 22px;

    text-align: center;

    border-radius: 50%;

    background-color: #4CAF50;
    color: white;

    font-size: 18px;
}


/* Hidden older month content */
.inat-hidden-content {
    display: none;
}


/* Horizontal scrolling container */
.inat-scroll-row {

    display: flex;

    flex-wrap: nowrap;

    overflow-x: auto;

    gap: 15px;

    padding: 10px 5px;

    align-items: stretch;

    scroll-snap-type: x mandatory;

}


/* Individual observation card */
.inat-card {

    flex: 0 0 220px;

    border: 1px solid #eee;

    border-radius: 10px;

    text-decoration: none;

    color: inherit;

    background: white;

    overflow: hidden;

    scroll-snap-align: start;

    transition: transform 0.2s ease, box-shadow 0.2s ease;

}


/* Small hover effect */
.inat-card:hover {

    transform: translateY(-3px);

    box-shadow: 0 3px 10px rgba(0,0,0,0.12);

}


/* Observation image */
.inat-card img {

    width: 100%;

    height: 160px;

    object-fit: cover;

    display: block;

}


/* Text area */
.inat-text {

    padding: 8px;

    font-size: 14px;

    line-height: 1.3;

}


/* ==============================
   Recent observations widget
   ============================== */


.inat-recent-widget {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

}


.inat-recent-item {

    display: block;

    text-decoration: none;

    border: 1px solid #eee;

    border-radius: 8px;

    overflow: hidden;

    font-size: 14px;

}


.inat-recent-item img {

    width: 100%;

    height: 300px;

    object-fit: cover;

}

.inat-recent-item {
    display: block;
    text-decoration: none;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
}

.inat-recent-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}


/* Visible borders on form fields so it's clear where to click */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
textarea,
select {
	border: 2px solid #CC8341 !important;
	border-radius: 4px !important;
	background-color: #fff !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
	border-color: #1E5458 !important;
	outline: none;
}

/* Organize header nav into a clean 2x2 grid so items don't wrap unevenly */
.wp-block-columns:has(.mega-menu-wrap) {
	align-items: center !important;
}
.wp-block-columns:has(.mega-menu-wrap) > .wp-block-column:first-child {
	flex: 0 1 260px !important;
}
.wp-block-columns:has(.mega-menu-wrap) > .wp-block-column:last-child {
	flex: 1 1 auto !important;
}
@media only screen and (min-width: 577px) {
  #mega-menu-max_mega_menu_1 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
  }
  #mega-menu-max_mega_menu_1 > li.mega-menu-item {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
}

/* Restore normal collapsed mobile menu (undo desktop 2x2 grid below 577px) */
@media only screen and (max-width: 576px) {
  div:has(> .mega-menu-wrap) {
    flex-wrap: wrap !important;
  }
  .mega-menu-wrap {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    text-align: left !important;
  }
}

/* Show only the center hamburger toggle on mobile; hide the left MENU text toggle */
@media only screen and (max-width: 576px) {
  .mega-toggle-blocks-left {
    display: none !important;
	}

.inat_project_dashboard {
    margin-top: 1rem;
}

.inat_project_dashboard summary {
    cursor: pointer;
    list-style: none;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.4rem 0;
}

.inat_project_dashboard summary::-webkit-details-marker {
    display: none;
}

	
	/* Freetop free shipping bar: only show on the Shop page */
	#wfspb-top-bar { display: none !important; }
	body.woocommerce-shop #wfspb-top-bar { display: block !important; }
	/* cache-bust 20260827c */
	
/* =========================================================
   EBIRD HOTSPOT OBSERVATIONS
   ========================================================= */

.ebird-hotspot {
    width: 90% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.ebird-hotspot .ebird-header {
    display: block !important;
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    padding: 10px !important;   
    font-size: 50px !important;
    font-weight: 500 !important;
}

.ebird-hotspot .ebird-header h2 {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
		font-size: 50px !important;
}

.ebird-hotspot .ebird-subtitle {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 50px !important;
    line-height: 1.5 !important;
    opacity: 0.7;
}


/* =========================================================
   RECENT OBSERVATIONS
   TWO-COLUMN GRID
   ========================================================= */

/* =========================================================
   RECENT OBSERVATIONS
   The PHP has an intermediate wrapper around the cards,
   so BOTH the main container and its immediate child
   need to participate in the grid.
   ========================================================= */

.ebird-hotspot .ebird-recent {
    display: block !important;

    width: 100% !important;

    margin: 0 0 35px 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


/* The intermediate wrapper containing the cards */

.ebird-hotspot .ebird-recent > * {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    grid-auto-flow: row !important;

    gap: 18px 20px !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;

    align-items: stretch !important;
}


/* The actual observation cards */

.ebird-hotspot .ebird-recent .ebird-observation {
    display: block !important;

    width: auto !important;

    max-width: none !important;

    min-width: 0 !important;

    margin: 0 !important;

    padding: 18px 20px !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(0, 0, 0, 0.15) !important;

    border-radius: 8px !important;

    background: rgba(255, 255, 255, 0.35) !important;
}


/* =========================================================
   INDIVIDUAL OBSERVATION CARDS
   ========================================================= */

.ebird-hotspot .ebird-recent > .ebird-observation {
    display: block !important;

    width: 100% !important;

    max-width: none !important;

    min-width: 0 !important;

    margin: 0 !important;

    padding: 18px 20px !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(0, 0, 0, 0.15) !important;

    border-radius: 8px !important;

    background: rgba(255, 255, 255, 0.35) !important;

    overflow: hidden !important;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease !important;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

.ebird-hotspot .ebird-recent > .ebird-observation:hover {
    transform: translateY(-2px) !important;

    border-color: rgba(0, 0, 0, 0.28) !important;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
}


/* =========================================================
   BIRD NAME
   ========================================================= */

.ebird-hotspot .ebird-bird-name {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    font-size: 1.15em !important;

    font-weight: 600 !important;

    line-height: 1.3 !important;
}

.ebird-hotspot .ebird-bird-name a {
    text-decoration: none !important;
}

.ebird-hotspot .ebird-bird-name a:hover {
    text-decoration: underline !important;
}


/* =========================================================
   SCIENTIFIC NAME
   ========================================================= */

.ebird-hotspot .ebird-scientific {
    display: block !important;

    width: 100% !important;

    margin: 6px 0 0 0 !important;

    padding: 0 !important;

    font-size: 0.92em !important;

    font-style: italic !important;

    line-height: 1.35 !important;

    opacity: 0.7;
}


/* =========================================================
   COUNT + DATE
   ========================================================= */

.ebird-hotspot .ebird-details {
    display: flex !important;

    flex-direction: row !important;

    align-items: center !important;

    flex-wrap: wrap !important;

    width: 100% !important;

    margin: 11px 0 0 0 !important;

    padding: 0 !important;

    gap: 5px !important;

    font-size: 0.86em !important;

    line-height: 1.4 !important;

    opacity: 0.7;
}

.ebird-hotspot .ebird-count {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 500 !important;
}

.ebird-hotspot .ebird-date {
    margin: 0 !important;
    padding: 0 !important;
}

.ebird-hotspot .ebird-separator {
    margin: 0 2px !important;
    padding: 0 !important;
}


/* =========================================================
   OLDER MONTHS
   ========================================================= */

.ebird-hotspot .ebird-month {
    display: block !important;

    width: 100% !important;

    margin: 12px 0 0 0 !important;

    padding: 20px !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(0, 0, 0, 0.14) !important;

    border-radius: 8px !important;

    overflow: hidden !important;

    background: rgba(255, 255, 255, 0.25) !important;
}


/* =========================================================
   MONTH HEADER
   ========================================================= */

.ebird-hotspot .ebird-month summary {
    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    width: 100% !important;

    min-height: 54px !important;

    box-sizing: border-box !important;

    margin: 0 !important;

    padding: 15px 20px !important;

    cursor: pointer !important;

    list-style: none !important;

    font-weight: 600 !important;
}

.ebird-hotspot .ebird-month summary::-webkit-details-marker {
    display: none !important;
}

.ebird-hotspot .ebird-month summary::after {
    content: "+" !important;

    flex-shrink: 0 !important;

    margin-left: 15px !important;

    font-size: 1.25em !important;

    font-weight: 400 !important;

    line-height: 1 !important;
}

.ebird-hotspot .ebird-month[open] summary::after {
    content: "−" !important;
}


/* =========================================================
   MONTH LABEL
   ========================================================= */

.ebird-hotspot .ebird-month-name {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 1em !important;
}

.ebird-hotspot .ebird-month-count {
    margin-left: auto !important;

    padding: 0 !important;

    font-size: 0.85em !important;

    font-weight: 400 !important;

    opacity: 0.65;
}


/* =========================================================
   OLDER OBSERVATIONS GRID
   ========================================================= */

.ebird-hotspot .ebird-month-content {
    display: grid !important;

    grid-template-columns: 1fr 1fr !important;

    gap: 12px 14px !important;

    width: 100% !important;

    box-sizing: border-box !important;

    margin: 0 !important;

    padding: 12px !important;
}


/* =========================================================
   OLDER OBSERVATION CARDS
   ========================================================= */

.ebird-hotspot .ebird-month-content > .ebird-observation {
    display: block !important;

    width: 100% !important;

    min-width: 0 !important;

    margin: 0 !important;

    padding: 15px 17px !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(0, 0, 0, 0.10) !important;

    border-radius: 7px !important;

    background: rgba(255, 255, 255, 0.2) !important;
}


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

.ebird-hotspot .ebird-footer {
    display: block !important;

    width: 100% !important;

    margin: 32px 0 0 0 !important;

    padding: 20px 0 0 0 !important;

    box-sizing: border-box !important;

    border-top: 1px solid rgba(0, 0, 0, 0.12) !important;

    text-align: center !important;
}

.ebird-hotspot .ebird-footer a {
    text-decoration: none !important;

    font-weight: 600 !important;
}

.ebird-hotspot .ebird-footer a:hover {
    text-decoration: underline !important;
}


/* =========================================================
   ERROR / EMPTY
   ========================================================= */

.ebird-hotspot .ebird-error,
.ebird-hotspot .ebird-empty {
    display: block !important;

    width: 100% !important;

    box-sizing: border-box !important;

    margin: 0 !important;

    padding: 18px !important;

    border: 1px solid rgba(0, 0, 0, 0.15) !important;

    border-radius: 8px !important;

    text-align: center !important;
}


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

@media (max-width: 700px) {

    .ebird-hotspot .ebird-recent > * {
        grid-template-columns: 1fr !important;

        gap: 12px !important;
    }


    .ebird-hotspot .ebird-month-content {
        grid-template-columns: 1fr !important;
    }


    .ebird-hotspot .ebird-recent .ebird-observation {
        padding: 16px 18px !important;
    }


    .ebird-hotspot .ebird-header h2 {
        font-size: 1.7em !important;
    }

}

    .ebird-hotspot .ebird-month-content {
        grid-template-columns: 1fr !important;
    }

    .ebird-hotspot .ebird-recent > .ebird-observation {
        padding: 16px 18px !important;
    }

    .ebird-hotspot .ebird-header h2 {
        font-size: 1.7em !important;
    }

}
	
	.ebird-hotspot .ebird-recent {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

.ebird-hotspot .ebird-recent > * {
    width: auto !important;
    max-width: none !important;
    grid-column: auto !important;
}