/*
Theme Name: ArileWP Pro Child
Template: arilewp-pro
Text Domain: arilewp-pro-child
*/

/* Blog  */
.theme-blog.theme-blog-large .post .entry-title {
    font-size: 1.5rem;
    color: #01012f;
}

.theme-blog .post-thumbnail { 
  aspect-ratio: 2 / 1;
}

.theme-blog .post-thumbnail a,
.theme-blog .post-thumbnail .post-thumbnail {
  display: block;
  height: 100%;
  width: 100%;
}

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


/* Make each grid column stretch */
.blog .theme-blog .row > [class*="col-"] {
  display: flex;
}

/* Make each post card fill the column */
.blog .theme-blog .row > [class*="col-"] > .post {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Let the inner post body take remaining space under thumbnail */
.blog .theme-blog .post .post-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* Let content area grow */
.blog .theme-blog .post .entry-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* scale down blog entry heading content */
.theme-blog .post .entry-content h2 {
    font-size: 24px; 
} 

.theme-blog .post .entry-content h3 {
	  color: #545454;
    font-size: 20px; 
}

.theme-blog .post .entry-content h4,
.theme-blog .post .entry-content h5,
.theme-blog .post .entry-content h6{
		    color: #545454;
    font-size: 18px; 
} 

/* Pin Read More to bottom */
.blog .theme-blog .post .read-more {
  margin-top: auto;
  padding-top: 20px;
  display: inline-block;
}



/* Sidebar Styling */
.sidebar .widget .wp-block-group {
    padding: 1.563rem 1.000rem 1.563rem;
    gap: 1.563rem;
    background: #EEEEEE;
}  

.sidebar .widget .wp-block-group ul {
    list-style: none;
    margin-left: 0;
    margin-bottom: 0; 
    padding: 0;
    width: 100%;
}

.sidebar .widget .wp-block-group ul li  {
    display: block;
    padding-left: 0px !important;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #D6D6D6;
    position: relative;
}

.sidebar .widget .wp-block-group ul li:first-child {
    border-top: 1px solid #D6D6D6; 
}

.sidebar .widget .wp-block-group ul:last-child li:last-child {
    border-bottom: none;
    padding-bottom: 0; 
}


.sidebar .widget .wp-block-group .wp-block-heading {
    font-size: 1.5rem; 
} 

.sidebar .widget .wp-block-group .wp-block-heading:first-of-type {
    margin-top:0;
}

/* Search block wrapper */
.sidebar .widget .wp-block-group .wp-block-search {
    width: 100%; 
}

/* Search block wrapper */
.sidebar .widget .wp-block-group .wp-block-search__inside-wrapper {
  position: relative;
  border: none;
  padding: 0;
}

/* Input styling (leave most theme styles intact) */
.sidebar .widget .wp-block-group .wp-block-search__input {
  padding-right: 3rem; /* space for icon button */
  border-top: 1px solid #D6D6D6; 
}

/* Reset the button styles */
.sidebar .widget .wp-block-group .wp-block-search__button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);

  background: transparent;
  border: none;
  padding: 0;
  margin: 0;

  box-shadow: none;
  min-width: auto;
}

/* Kill theme button visuals */
.sidebar .widget .wp-block-group .wp-block-search__button.wp-element-button {
  background: transparent !important;
  color: inherit !important;
}

/* Icon styling */
.sidebar .widget .wp-block-group .wp-block-search__button svg {
  width: 20px;
  height: 20px;
  fill: #666; /* match input text / placeholder */
}

/* Hover / focus states */
.sidebar .widget .wp-block-group .wp-block-search__button:hover svg,
.sidebar .widget .wp-block-group .wp-block-search__button:focus svg {
  fill: #000;
}

#wrapper .theme-page-header-area {
  height: 350px;
  padding: 2rem 0; 
  display: flex;
  align-items: center;
}

 