/*
Theme Name: Pinnacle Child - POPL
Template: pinnacle
Version: 1.3.2
Description: Child theme for PrzedObiektywem.pl. Original image proportions and native Masonry for portfolio category archives.
Text Domain: pinnacle-child-popl
*/


/* POPL P1-03.02.04: match the homepage Fotografie heading. */
body.tax-portfolio-type .popl-portfolio-heading {
    background: #fff;
    padding: 5px 0 18px;
}
body.tax-portfolio-type .popl-portfolio-heading h1.popl-portfolio-title {
    font-family: Raleway, sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
    color: #292929;
    text-align: left;
    margin: 0;
    padding: 0;
    overflow-wrap: break-word;
}

/* POPL P1-03.02.05: symmetric spacing inside the archive area.
 * Keep the existing card gutters; compensate for the observed 20px bottom gutter.
 */
body.tax-portfolio-type #content {
    margin-bottom: 0;
    padding-top: 40px;
    padding-bottom: 20px;
}
@media (max-width: 767px) {
    body.tax-portfolio-type #content {
        padding-top: 30px;
        padding-bottom: 10px;
    }
}

/* POPL P1-03.03: single portfolio only. Preserve gallery width and gutters. */
body.single-portfolio .popl-portfolio-heading { background: #fff; padding: 5px 0 18px; }
body.single-portfolio .popl-portfolio-title {
    font-family: Raleway, sans-serif; font-size: 42px; font-weight: 400;
    line-height: 1.4; letter-spacing: normal; color: #292929;
    text-align: left; margin: 0; padding: 0; overflow-wrap: break-word;
}
body.single-portfolio .popl-portfolio-back { font-size: 14px; line-height: 1.5; text-align: right; }
body.single-portfolio .popl-portfolio-back a { color: #555; }
body.single-portfolio .popl-portfolio-back a:hover { text-decoration: underline; }
body.single-portfolio .popl-portfolio-heading .popl-portfolio-back { margin-top: 5px; }
body.single-portfolio #content { margin-bottom: 0; padding-top: 40px; padding-bottom: 40px; }
body.single-portfolio #content .portfolio-single { padding-top: 0; padding-bottom: 0; }
body.single-portfolio .portfolio-postclass .pcfull > .postclass,
body.single-portfolio .portfolio-postclass .pcside > .postclass { background: transparent; box-shadow: none; border-radius: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; }
body.single-portfolio article > footer > .popl-portfolio-back { margin-top: 40px; }
body.single-portfolio #portfolio_carousel_container .portfolio-item .portfolio-table { display: none; }
body.single-portfolio #portfolio_carousel_container .portfolio-item img { height: auto; }
@media (max-width: 767px) {
    body.single-portfolio #content { padding-top: 30px; padding-bottom: 30px; }
    body.single-portfolio article > footer > .popl-portfolio-back { margin-top: 30px; }
}
