/*
 Theme Name:   Sekkamag
 Theme URI:    https://themesharbor.com/downloads/aquene/
 Description:  This is a child theme, based on Aquene.
 Author:       Taras Dashkevych
 Author URI:   https://themesharbor.com/
 Template:     aquene
 Version:      1.0.2
 Tags:
 Text Domain:  aquene
*/


@import url(https://sekkamag.com/wp-content/themes/aquene/assets/css/pages/hfeed.css);


@font-face {
    font-family: Bodoni Bold;
    src: url(fonts/Bodoni-Bold.otf);
    font-weight: normal;  
}
@font-face {
    font-family: Bodoni Book;
    src: url(fonts/Bodoni-Book.otf);
    font-weight: normal;  
}



/***********************************************************
FROM CUSTOMIZER
***********************************************************/
  /* Custom font | 9713550-hc otpidusprime */
  /* import brand fonts */
  @font-face {
    font-family: Adobe Caslon Pro;  
    src: url(https://www.dropbox.com/s/ms1kjtv29etrkf6/ACaslonPro-Regular.otf?dl=0);  
    font-weight: normal;  
}

@font-face {
    font-family: Avenir;  
    src: url(/fonts/Avenir.ttf);  
    font-weight: normal;  
}
@font-face {
    font-family: Avenir Bold;
    src: url(/fonts/Avenir-Bold.ttf);  
    font-weight: normal;
}

.archive-grid .hentry{
    height: 350px;
}

@media only screen and (max-width: 768px){
    .archive-grid .hentry {
        min-height: 350px;
        height: auto;
    }
}

/*change the background color of sticky posts*/
.archive-grid .sticky {
    background: #fff;
}

/*center instagram embeds | 16036551-hc swm */
.instagram-media{margin:0 auto !important;}
/*center image captions in blocks | 16036551-hc swm */
.wp-block-image figcaption {
    text-align: center;
}
/* Adds more space between posts in the Block Posts Block */
.wp-block-newspack-blocks-homepage-articles article.post-has-image {
    padding-top: 2px;
}

/* Hides sharing buttons in the Blog Posts Block */ 
.wp-block-newspack-blocks-homepage-articles .sharedaddy.sd-sharing-enabled {
    display: none;
}

/* Change grid style on mobile | 22915722-hc (LS) */
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media, .wp-block-media-text .wp-block-media-text__content {
    -ms-grid-column: 2;
    grid-column: 2 !important;
    -ms-grid-row: 1 !important;
    grid-row: 1 !important;
}
.wp-block-media-text.alignwide {
    grid-template-columns: 40% auto !important;
}
.wp-block-media-text .wp-block-media-text__content {
    padding-left: 30px !important;
}

/* make the youtube video full width - #23441222-hc - aj */
.embed-youtube iframe {
    width: 100% !important;
}


/*Setting the images to full width on "About Us" page -3344937-zen - SM*/
.page-id-9733 .wp-block-group.alignfull .wp-block-group__inner-container {
    padding: 0
}
/* remove featured image and adjust entry header to accommodate | 25196824-HC/ZEN | GM */
.featured-image-wrap {
    /* display: none; */
}
.single .site-main .hentry.has-post-thumbnail .entry-header, .page .site-main .hentry.has-post-thumbnail .entry-header {
    margin-top: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
/* Posts Grid: change the grid height -- 25981727-hc swm */
.archive-grid .hentry {
  height: 350px; 
}
 
@media only screen and (min-width: 768px) {
  .archive-grid .hentry {
    min-height: 200px;
  }
}
/* End -- 25981727-hc swm */




/***********************************************************
GENERAL
***********************************************************/
body {
    font-size: 20px;
}
body, button, input, select, textarea {
    font-family: Avenir, sans-serif;    
}




@media (min-width: 768px) {

    .sekkagrid.archive-grid .hentry {
        width:50%;
        box-shadow: none;
    }
    .sekkagrid.primary-section .hentry {
        width:50%;
	}
	.sekkagrid.primary-section.bloglist .hentry {
        width:33.3%;
        padding: 30px;
        min-height: 280px;
        height: 280px;
        border-right: 2px solid #e5e5e5;
    }
    .sekkagrid.primary-section.bloglist .hentry .entry-title {
        margin-top: .5rem!important;
        font-size: 20px;
        min-height: 50px;
    }
    .sekkagrid.primary-section.bloglist header+article.hentry .entry-title,
    .sekkagrid.primary-section.bloglist header+article+article .entry-title {
        font-size: 40px;
        border-right:none!important;
    }

}


.sekkagrid.primary-section.bloglist .hentry {
    margin-bottom: 2px;
}
.featured-content .primary-section .hentry, 
.featured-content .primary-section .hentry:first-child {
    border-right: 2px solid #e5e5e5;
    margin-bottom: 2px;
}

.featured-content .sekkagrid.primary-section .hentry:first-child {
    width: 100%;
    min-height: 600px;
}




.entry-title {
    /*
    font-family: "Bodoni Bold";
    */
}


.home .featured-content .primary-section .hentry:first-child h2.entry-title,
.home .featured-content .primary-section .hentry:first-child h2.entry-title a {
    line-height: 1em;
}
.single-post .hentry h1.entry-title,
.single-post .hentry h1.entry-title a,
.single-issue .hentry h1.entry-title {
    font-family: 'Avenir', sans-serif;
    font-weight: bold!important;
    font-size: 36px;
    line-height: 1.2em;
}

.entry-summary,
.entry-summary.th-highlighted-summary {
    font-family: 'Avenir', sans-serif;
    line-height: 1.2em;
    font-weight: normal;
    font-size: 20px;
}

.home.page .site-main .archive-grid .hentry.has-post-thumbnail .entry-header {
    margin-top: 0;
    margin-bottom: 20px;
    box-shadow: none;
}



/***********************************************************
HEADER
***********************************************************/
.header-subscribe {
    
}
.header-subscribe .search-form {
    height: 40px;
    margin: 20px 0 0;
}
.header-subscribe .search-form input {
    height: 40px;
}
.header-subscribe a {
    color: #ffde00;
}
.site-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: none;
}
.header-left-col .site-branding {
    border: 0;
}
.header-right-col {
    margin-top: 15px;
}

.site-navigation {
    margin-bottom: -16px;
    font-family: 'Avenir', sans-serif;
}
.site-navigation a {
    padding: 30px 20px;
    
    font-size: 13px;
}
.site-navigation .current_page_item > a, .site-navigation .current-menu-item > a, .site-navigation .current_page_ancestor > a, .site-navigation .current-menu-ancestor > a {
    background: #000;
    color: #ffde00!important;
}


.jetpack-social-navigation a {
    
}


/***********************************************************
CONTENT
***********************************************************/
.entry-content p,
.entry-summary,
.entry-summary.th-highlighted-summary,
.single-post .hentry h1.entry-title,
.single-post .hentry h1.entry-title a,
.single-issue .hentry h1.entry-title {
    text-align: justify;
}



/***********************************************************
HOME / FEATURED
***********************************************************/
.featured-content {
    width: 100%;
}
.featured-content .primary-section .entry-title {
    line-height: 1em;
    padding: 7px 0;
    font-size: 28px;
	/*
    
    */
}
.featured-content .primary-section .entry-title a {
    background: none;
    box-shadow: none;
    padding: 0;
}
.featured-content .primary-section .entry-title a:hover {
    color: rgba(255,255,255.9);
}




.primary-section header {
    box-shadow: none!important;
}

/* Magazines - featured */
#featmagazine-section.primary-section {
    /*
    padding: 0 0 1em;
    */
}
#featmagazine-section.primary-section article,
.sekkagrid.primary-section article {
    padding: 3% 4%;

    display: flex;
    flex-wrap: wrap;
}

.sekkagrid.primary-section article {
    flex-flow: column-reverse;
}
#featmagazine-section.primary-section article,
.sekkagrid.primary-section article:first-child {
    width: 100%;
}

#featmagazine-section.primary-section header {
    margin-top: 20%!important;
    margin-bottom: 10px;
}

#featmagazine-section.primary-section header,
#featmagazine-section.primary-section .entry-summary,
.sekkagrid.primary-section header,
.sekkagrid.primary-section .entry-summary {
    align-self: flex-end;
}
#featmagazine-section.primary-section .entry-summary,
.sekkagrid.primary-section .entry-summary {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 30px;
}
#featmagazine-section.primary-section .entry-summary p {
    /*
    background: rgba(0,0,0,.9);
    */
    padding: 7px 10px 5px;
    float: left;
}
#featmagazine-section.primary-section .entry-summary .magbutton {
    margin-right: 15px;
}

/* Magazines - subscriptions */
#subscriptions-section.archive-grid {
    padding: 4rem 1rem;
    width: 100%;
}
#subscriptions-section.archive-grid article {
    text-align: center;
    min-height: 100px!important;
    background: none;
    height: auto;
	border: 0;
}
#subscriptions-section.archive-grid article h2 {
    margin: 10px 0;
    font-size: 24px;
}
#subscriptions-section.archive-grid article h2 a {
    color: #000;
}
#subscriptions-section.archive-grid article .entry-summary {
    text-align: center;
}
#subscriptions-section.archive-grid article .magbutton {
    margin: 0 auto 20px;
}
#subscriptions-section.archive-grid article .featured-image {
    position: relative;
}
.subscription-thumb {
    height: 250px;
    min-height: 250px;
    overflow: hidden;
}


/* Magazines - general */
.section-title {
    font-family: 'adobe-caslon-pro', sans-serif;
    display:block;
    width:100%;
    margin: 0 2rem 20px;
    padding-bottom: 10px;
    border-bottom: 4px solid #f4f4f4;
}
.section-title-articles {
    margin: 1rem 3rem 2rem;
    width: calc(100% - 6rem);
}
.magbutton {
    background: #ffde00;
    color: #000!important;
    padding: 15px 35px;
    font-size: 18px;
    line-height: 1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Avenir', sans-serif;
    font-weight: bold;
    z-index: 1;
    position: relative;
    opacity: .9;
}
.magbutton:hover {
    opacity: 1;
}


/* Theme default - adaptations */
#primary_posts {
    padding: 0 0 2%;
}
.archive-grid #primary_posts .hentry .thumb-link {
    height: auto;
}

#secondary_posts {
    padding: 0 0 2%;
}
#secondary_posts.archive-grid .hentry .thumb-link {
    height: 224px;
    min-height: 224px;
    position: relative;
}
#secondary_posts.archive-grid .hentry .thumb-link img {
    height: 100%;
}

#sticky-header .progress-bar, .hentry .entry-cats a {
    background-color: #f4e412;
}
.hentry .entry-cats a {
    color: #3d3d3d;
}


/* BLOG */
main.archive-grid .sekkagrid { width: 100%; }
main.archive-grid .sekkagrid article { float: left; background: #000; min-height: 350px!important; }
main.archive-grid .sekkagrid article header { z-index: 2; }
main.archive-grid .sekkagrid article .featured-image { opacity: 0.85; }
main.archive-grid .sekkagrid article h2 a { color: #fff!important; }
main.archive-grid .sekkagrid header+article { width: 100%!important; }

.archive-grid .hentry .entry-title { 
	/*
	
	*/
	font-size: 20px;
	margin-top: .5rem!important;
}



/***********************************************************
FOOTER
***********************************************************/
.footer-top,
.footer-bottom {
    display: none;
}
.site-footer .widget {
    font-family: 'Avenir', sans-serif;
}
.site-footer .widget button {
    background-color: #f4e412;
    color: #000;
    font-family: 'Avenir', sans-serif;
    font-weight: bold;
}
.widget ul li::before, .widget.widget_jp_blogs_i_follow ol li::before {
    content: none;
}
.site-footer a {
    font-family: 'Avenir', sans-serif;
    font-size: 14px;
}
.widget_blog_subscription p {
    margin-bottom: 10px;
}

.footer-section ul.wp-block-social-links {
	display: block;
	text-align: center;
}
.footer-section .wp-block-social-link {
	padding: 0 10px;
	display: inline-block;
}
.footer-section .jetpack_widget_social_icons a,
.footer-section .wp-block-social-links.is-style-logos-only .wp-social-link svg {
    height: 40px;
    width: 40px;
}


/***********************************************************
MOBILE
***********************************************************/

@media only screen and (min-width: 811px) {

    
    .sekkagrid.primary-section article {
        width: 50%;
    }
    .featured-content .primary-section .entry-title {
        font-size: 36px;
        line-height: 1em;
        min-height: 122px;
    }


    .sekkagrid.primary-section.bloglist header+article.hentry { 
        width: 66.6%!important; 
        min-height: 490px!important;;
    }
    .sekkagrid.primary-section.bloglist header+article+article { 
        min-height: 490px!important;
    }

	.single-post .featured-image-wrap {
		height: 42rem;
	}

    .site-footer .widget {
        width: 25%!important;
        font-family: 'Avenir', sans-serif;
        
    }
    
    .site-footer #nav_menu-3,
    .site-footer #nav_menu-4,
    .site-footer .jetpack_widget_social_icons {
        display: flex;
    }
    .site-footer #nav_menu-3 > div,
    .site-footer #nav_menu-4 > div,
    .site-footer .jetpack_widget_social_icons > ul {
        align-self: center;
    }

    .site-footer .widget#nav_menu-3 {
        border: 0;
        width: 17% !important;
    }
    .site-footer .widget#nav_menu-5 {
        width: 33% !important;
    }

}


@media only screen and (max-width: 991px) {

    .site-header {
        height: 80px;
    }
    .site-header .custom-logo {
        max-width: 170px;
        width: auto;
    }
    .header-right-col {
        margin-top: -5px;
    }
    .wp-block-group__inner-container > h1 {
        padding-left: 24px;
        padding-right: 24px;
    }

    .header-right-col .mobile-menu-button,
    .mobile-menu-button#sticky-menu {
        text-indent: -999px !important;
        overflow: hidden;
        width: 36px;
        height: 36px;
        margin-top: 6px;
        text-align: left;
        display: block;
    }
    .site-header .mobile-menu-button .svg-icon {
        height: 36px;
        width: 36px;
    }

}

@media only screen and (max-width: 768px) {

    body {
        font-size: 17px;
    }
    p.has-medium-font-size {
        text-align: left;
    }

    .header-right-col {
        margin-top: -50px;
    }
    .header-right-col::before {
        border: 0;
    }

    #featmagazine-section.primary-section header {
        margin-top: 50%!important;
    }
    .magbutton {
        padding: 12px 25px;
        font-size: 16px;
    }
    #subscriptions-section.archive-grid article .entry-summary {
        text-align: center;
    }
    .home.page .site-main .hentry.has-post-thumbnail .entry-header {
        margin-bottom: 10px;
    }

    .site-footer .widget#nav_menu-3 .menu,
    .site-footer .widget#nav_menu-4 .menu {
        text-align: center;
    }
    .site-footer .widget#nav_menu-3 .menu li,
    .site-footer .widget#nav_menu-4 .menu li {
        padding-left: 0;
    }
    .site-footer .widget#nav_menu-3 .menu {
        margin-bottom: 0;
    }
    .site-footer .widget#nav_menu-4 {
        margin-top: 0;
    }
    .site-footer .jetpack_widget_social_icons {
        text-align: center;
    }
    .footer-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .single-post .hentry h1.entry-title,
    .single-post .hentry h1.entry-title a,
    .single-issue .hentry h1.entry-title {
        text-align: left;
        font-size: 24px;
    }

    .entry-summary,
    .entry-summary.th-highlighted-summary {
        text-align: left;
        font-size: 17px;
    }

}


@media only screen and (max-width: 480px) {

    body,
    .entry-summary.th-highlighted-summary {
        font-size: 16px;
    }
    #featmagazine-section.primary-section header {
        margin-top: 60%!important;
    }
	.featured-content .primary-section .hentry, 
	.featured-content .primary-section .hentry:first-child {
		width: 100%;
	}

}


/* Smaller font size on phone screens to avoid large white space gaps
@media only screen and (max-width: 380px) {

    body,
    .entry-summary.th-highlighted-summary {
        font-size: 14px;
    }
	
}
*/