/*
 Theme Name:   Sydney Child
 Theme URI:    https://teachingstatisticstrust.org.uk/
 Description:  Child theme for Sydney
 Author:       Dominic
 Author URI:   https://teachingstatisticstrust.org.uk/
 Template:     sydney
 Version:      1.0.0
 Text Domain:  sydney-child
 Last Update: 19-01-26
*/

/* Custom CSS for WordPress Sydney Theme */


.site-branding .site-title a {
    /* Logo display */
    display: block;
    width: 216px;
    height: 100px;
   background-image: url('https://teachingstatisticstrust.org.uk/wp-content/uploads/2025/11/cropped-TST-logo-2025-v2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    
    /* Visually hide text - accessible method */
    color: transparent;
    font: 0/0 a; /* Zero font size and line height */
    text-shadow: none; /* Remove any shadows */
    
    /* Move text out of viewport */
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    
    /* Remove text decoration */
    text-decoration: none;
    
  
    
       /* ADD SPACING HERE */
    padding: 20px 0; /* Top/bottom padding */
    margin: 10px 0;  /* Top/bottom margin */
    
    /* OR specific sides */
    margin-left: 20px;  /* Space on left */
    margin-right: 20px; /* Space on right */
    margin-top: 15px;   /* Space above */
    margin-bottom: 15px; /* Space below */
}

<style>
/* Bio Grid Container */
.bio-grid-sydney {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #f0f0f0;
}

/* Bio Image Container */
.bio-img-sydney {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 180px;
            flex: 0 0 180px;
    margin-right: 30px;
}

/* Bio Image */
.bio-img-sydney img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 50%;
}

/* Bio Info Container */
.bio-info-sydney {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}

/* Bio Name */
.bio-info-sydney h3 {
    margin: 0 0 8px 0;
    font-size: 1.4em;
    color: #333;
}

/* Bio Title */
.bio-info-sydney .bio-title {
    color: #777;
    font-style: italic;
    margin-bottom: 15px;
    display: block;
}

/* Bio Text */
.bio-info-sydney p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #555;
}

/* Responsive for Mobile */
<style>
/* Bio Grid Container with ALL vendor prefixes */
.bio-grid-sydney {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
       -moz-box-orient: horizontal;
       -moz-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
            
    -webkit-box-pack: start;
       -moz-box-pack: start;
        -ms-flex-pack: start;
     -webkit-justify-content: flex-start;
            justify-content: flex-start;
            
    -webkit-box-align: start;
       -moz-box-align: start;
        -ms-flex-align: start;
     -webkit-align-items: flex-start;
            align-items: flex-start;
            
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #f0f0f0;
}

/* Bio Image Container */
.bio-img-sydney {
    -webkit-box-flex: 0;
       -moz-box-flex: 0;
        -ms-flex: 0 0 180px;
     -webkit-flex: 0 0 180px;
            flex: 0 0 180px;
            
    margin-right: 30px;
}

/* Bio Image */
.bio-img-sydney img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    
    -o-object-fit: cover;
       object-fit: cover;
       
    border-radius: 50%;
}

/* Bio Info Container */
.bio-info-sydney {
    -webkit-box-flex: 1;
       -moz-box-flex: 1;
        -ms-flex: 1;
     -webkit-flex: 1;
            flex: 1;
}

/* Bio Name */
.bio-info-sydney h3 {
    margin: 0 0 8px 0;
    font-size: 1.4em;
    color: #333;
}

/* Bio Title */
.bio-info-sydney .bio-title {
    color: #777;
    font-style: italic;
    margin-bottom: 15px;
    display: block;
}

/* Bio Text */
.bio-info-sydney p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #555;
}

/* Responsive for Mobile */
@media screen and (max-width: 768px) {
    .bio-grid-sydney {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
                
        -webkit-box-align: center;
           -moz-box-align: center;
            -ms-flex-align: center;
         -webkit-align-items: center;
                align-items: center;
                
        text-align: center;
    }
    
    .bio-img-sydney {
        -webkit-box-flex: 0;
           -moz-box-flex: 0;
            -ms-flex: 0 0 auto;
         -webkit-flex: 0 0 auto;
                flex: 0 0 auto;
                
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .bio-img-sydney img {
        max-width: 150px;
        height: 150px;
    }
}

/* Paragraphs in the bio container */
/* reduce ALL paragraph spacing in bios */
.bio-info-sydney p {
    margin: 0 0 10px 0 !important; /* Top:0, Right:0, Bottom:10px, Left:0 */
    line-height: 1.5;
}

/* Last paragraph should no bottom margin */
.bio-info-sydney p:last-child {
    margin-bottom: 0 !important;
}
