/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* =====================================
   Pill Search Bar – Button Outside
   Full Responsive (Exact Design)
===================================== */

.wp-block-search {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Outer pill container */
.wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 6px;
    border-radius: 999px;
    border: 2px solid #ff6a5c;
    background: transparent;
    box-sizing: border-box;
}

/* Input field */
.wp-block-search__input {
    flex: 1;
    height: 50px;
    line-height: 50px;
    padding: 0 22px;
    font-size: 15px;
    border-radius: 999px !important;
    border: none;
    background: #ffffff;
    color: #111;
    outline: none;
    box-sizing: border-box;
    min-width: 0;
}

/* Placeholder */
.wp-block-search__input::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

/* Search Button (Text) */
.wp-block-search__button {
    height: 50px;
    padding: 0 28px;
    margin-left: 8px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ff512f, #ff7a18);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Hover */
.wp-block-search__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255,90,60,0.35);
}

/* ===============================
   Tablet
================================ */
@media (max-width: 768px) {
    .wp-block-search__input {
        height: 46px;
        line-height: 46px;
        font-size: 14px;
    }

    .wp-block-search__button {
        height: 46px;
        padding: 0 22px;
        font-size: 13px;
    }
}

/* ===============================
   Mobile
================================ */
@media (max-width: 480px) {
    .wp-block-search__inside-wrapper {
        padding: 5px;
    }

    .wp-block-search__input {
        height: 44px;
        line-height: 44px;
        padding: 0 16px;
        font-size: 14px;
    }

    .wp-block-search__button {
        height: 44px;
        padding: 0 18px;
        font-size: 13px;
    }
}

.....

.ellipsis-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ellipsis-text-archive {
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0px;
    z-index: 9999;
    background: #ffffff; /* IMPORTANT */
}
.site-header {
    transition: box-shadow 0.3s ease;
}

.site-header:has(+ *) {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.main-navigation .main-nav ul li a {
    color: #222;
    font-size: 15px;
	top: 20px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a {
    color: #ff6a00;
}
.navigation-search a {
    color: #444;
    font-size: 18px;
}

.navigation-search a:hover {
    color: #ff6a00;
}

