/*
Theme Name: Plébánia
Author: Extreme Elektrik Kft.
Author URI: https://extreme-elektrik.com
Description: Plébániák számára létrehozott Wordpress téma
Version: 1.0
*/

body{
    font-family: Nunito Sans, Arial;
    font-size:15px;
    background:#f4f4f4;
    margin:0;
    padding:0;
    line-height: 1.7em;
}

h1 {
    text-align:center;
    line-height: 1.4;
    font-weight: 600;
    font-size:3rem;
}

.page {
    margin-top:120px;
    max-width:900px;
    margin-inline :auto;
}

.main {
    margin-top:120px;
}

a{ color:#0c83ab;
  
}

a:hover {
    color:#333;
}

.clr{
    clear:both;
}


#primaryNav {
    flex-grow: 0;
}


header h1{
    color:#fff;
    margin:0;
    padding:0;
    padding-bottom: 10px;
}


.block{
    padding:5px 15px 25px 15px;
    background:#fcfcfc;
    overflow:hidden;
    margin:15px 0;
}

.block h3{
    border-bottom:#ccc solid 1px;
    padding-bottom:10px;
}

.sidebar{
    float:right;
}

/* Artciles, posts */

article.post{
    overflow:hidden;
    max-width:600px;
    margin:auto;
}

article.post a.button{
    display:inline-block;
    background:#333;
    color:#fff;
    padding:10px 5px;
    margin-bottom: 10px;
    text-decoration: none;
}

.post-thumbnail {
    width:100%;
    max-width:350px;    
    height:auto;
    float:left;
    padding: 0 2rem 2rem 0;
}

.content-post-thumbnail {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.phone{
    background:#f4f4f4;
    border: 1px solid #ccc;
    padding:8px;
    font-weight: bold;
}

/* Navigation */ 
.sub-nav{
    margin-top:10px;
    float:right;
    width:300px;
  }
  
  .sub-nav ul{
    float:right;
  }
  
  .sub-nav .parent-link{
    font-weight: bold;
    color:#000;
    float:left;
    margin-right:20px;
    padding-right:20px;
    border-right:1px solid #009acd;
  }
  
  .sub-nav .parent-link a{
    font-weight: bold;
    color:#000;
  }
  
  .sub-nav .current_page_item{
    font-weight: bold;
  }

/* Archive */ 
.archive-post{
    padding-bottom:10px;
    margin-bottom:10px;
}

.archive-post h4, 
.archive-post p{
    margin:0;
    padding:0;
}
/*Poster */
.poster {
    object-fit: cover;
    height:100%;
}

/* Widgets*/ 

.side-widget{
    border:1px #ccc solid;
    padding:10px 10px;
    margin-bottom:20px;
    margin-top:20px;
    background-color: #fcfcfc;
}

.side-widget li, .box li{
    line-height:2.2em;
    border-bottom:dotted 1px #ccc;
}

.side-widget ul,
.box ul { 
    list-style-type: none;
    padding-left:0;
}

.side-widget a{
    text-decoration: none;
}


.showcase{
    background:#e0eefc;
    padding:40px;
    margin-bottom:30px;
    text-align: center;
  }
  
  .showcase h1{
    text-align: center;
  }

  .box{
    width:32%;
    float:left;
    padding:0 6px;
    margin-right:5px;
  }
  
  .box h3{
    text-align: center;
    background:#009acd;
    padding:5px;
    color:#fff;
  }
  

/*Hirdetések*/
.custom-sidebar .widget-title {
    text-transform: uppercase;
    font-variant: small-caps;
    font-size: 1.1rem;
    letter-spacing: .5px;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.recent-posts-list {
    margin: 0;
    padding: 0;
}

.recent-post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.recent-post-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
}

.recent-post-info {
    display: flex;
    flex-direction: column;
}

.recent-post-title {
    font-weight: 600;
    line-height: 1.3;
}

.recent-post-date {
    font-size: .85rem;
    color: #666;
    margin-top: 2px;
}

.archive-list li {
    margin-bottom: .5rem;
}
  
.post-thumbnail-full {
    width: 100%;
    height: auto;
    overflow: visible;
}

.post-thumbnail-full img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

/*Achive*/
.archive-year {
    margin-bottom: .5rem;
}

.archive-year-title {
    font-weight: 600;
    cursor: pointer;
    padding: .25rem 0;
    list-style: none;
}

.archive-year-title::-webkit-details-marker {
    display: none;
}

.archive-year-title::before {
    content: "▸";
    display: inline-block;
    margin-right: 6px;
    transition: transform .15s ease;
}

.archive-year[open] .archive-year-title::before {
    transform: rotate(90deg);
}

.archive-month-list {
    margin: .25rem 0 .5rem 1.2rem;
    padding: 0;
}

.archive-month-list li {
    margin-bottom: .3rem;
}

.search-form-custom {
    display: flex;
}

.search-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    font-size: .95rem;
}

.search-input:focus {
    outline: none;
    border-color: #999;
}

.search-btn {
    background: #212529;
    border: none;
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #000;
}

.search-btn svg {
    display: block;
}
