/* Landing /partners/* (PartnerLandingController). The content blocks reuse affiliate-program.css
   (aff-*); this file holds the full-bleed hero, the section rhythm and the brief. */

.pl-hero {
    background-image: linear-gradient(rgba(40, 8, 24, 0.62), rgba(40, 8, 24, 0.62)), url('../../images/hero-banner-wines-food-table.webp');
    background-position: center;
    color: #fff;
    padding: 96px 0 72px;
    text-align: center;
}
.pl-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.6em;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 18px;
    color: #fff;
}
.pl-hero .lead {
    font-size: 1.25em;
    line-height: 1.6;
    color: #fff;
    margin: 0 auto 30px;
    max-width: 720px;
}
.pl-cta-group .btn {
    margin: 6px;
}
.pl-cta-band {
    padding: 88px 0;
    text-align: center;
}
.pl-cta-band h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin: 0 0 14px;
}
.pl-cta-band p {
    font-size: 1.1em;
    margin: 0 auto 26px;
    max-width: 640px;
}
/* Section rhythm. affiliate-program.css spaces a title with the subtitle under it (40px), and
   these sections have none: the H2 sat 14px from its content, stacked cards touched each other
   and the last step or row doubled the bottom padding. Scoped to .pl-section, so the
   /affiliate-program page that owns the aff-* classes does not move. */
.aff-section.pl-section {
    padding: 88px 0;
}
.pl-section h2 {
    margin: 0 0 44px;
}
.pl-section .aff-cards-row {
    margin-bottom: -30px;
}
.pl-section .aff-cards-row > [class*="col-"] {
    margin-bottom: 30px;
}
.pl-section .aff-value-card {
    width: 100%;
    padding: 36px 28px 30px;
}
.pl-section .aff-value-card p:last-child,
.pl-section .aff-step:last-child,
.pl-section .aff-tool-row:last-child {
    margin-bottom: 0;
}
.pl-section .aff-step {
    margin-bottom: 40px;
}
.pl-section .aff-tool-row {
    margin-bottom: 20px;
    padding: 26px 28px;
}
/* The check mark keeps its own column, so a wrapped line starts under the text, not under it. */
.pl-section .aff-icon-list {
    margin: 0;
}
.pl-section .aff-icon-list li {
    display: flex;
    align-items: baseline;
    padding: 10px 0;
    font-size: 1.08em;
    line-height: 1.6;
}
.pl-section .aff-icon-list li .glyphicon {
    flex-shrink: 0;
    margin-right: 12px;
}
.pl-terms-link {
    margin: 24px 0 0;
    font-size: 1.08em;
}
.pl-mini-brief .form-control {
    margin-bottom: 16px;
}
.pl-mini-brief .btn {
    margin-top: 8px;
}

/* The global p.lead is justified with no margin: under a centred title it reads as a misaligned
   block, so every lead of these pages follows its block. */
.pl-hero p.lead,
.pl-thanks p.lead {
    text-align: center;
}
.pl-thanks h1 {
    margin: 0 0 24px;
}
.pl-thanks p.lead {
    margin: 0 0 16px;
}
.pl-thanks p:last-of-type {
    margin-bottom: 36px;
}

/* site.css gives every .modal-body 10px of padding, which put the brief fields against the edge. */
.pl-brief-modal .modal-header {
    padding: 20px 28px;
}
.pl-brief-modal .modal-body {
    padding: 24px 28px 28px;
}
.pl-brief-modal .modal-body p.text-muted {
    margin-bottom: 20px;
}
.pl-brief-modal .form-group {
    margin-bottom: 20px;
}
/* The hidden category field still gets a .form-group wrapper: no gap for an invisible field. */
.pl-brief-modal .form-group.field-partnerbriefform-category {
    margin: 0;
}
.pl-brief-modal .btn-lg {
    margin-top: 8px;
}
.pl-brief-modal .btn-lg + .btn-lg {
    margin-left: 10px;
}

.pl-index-card {
    display: block;
    height: 100%;
    color: inherit;
}
/* The services of a category, as tags under its card. Bootstrap's .label, in the brand tint. */
.pl-tags {
    margin-top: 16px;
    line-height: 2.1;
}
.pl-tags .label {
    display: inline-block;
    margin: 0 2px;
    padding: 5px 10px;
    border-radius: 12px;
    background: rgba(145, 19, 81, 0.08);
    color: #911351;
    font-size: 0.82em;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
/* Thirteen cards in three columns leave one alone on the last row: centre it. */
.pl-section .aff-cards-row {
    justify-content: center;
}
.pl-index-card:hover,
.pl-index-card:focus {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 767px) {
    .pl-hero { padding: 64px 0 48px; }
    .pl-hero h1 { font-size: 1.8em; }
    .pl-hero .lead { font-size: 1.1em; word-break: break-word; hyphens: auto; }
    .pl-cta-band { padding: 60px 0; }
    .aff-section.pl-section { padding: 60px 0; }
    .pl-section h2 { margin-bottom: 32px; }
    .pl-section .aff-cards-row { margin-bottom: -20px; }
    .pl-section .aff-cards-row > [class*="col-"] { margin-bottom: 20px; }
    .pl-section .aff-value-card { padding: 30px 22px 26px; }
    .pl-section .aff-step { margin-bottom: 36px; }
    .pl-section .aff-tool-row { padding: 24px 20px; }
    .pl-mini-brief .form-control { margin-bottom: 12px; }
    .pl-mini-brief .btn { margin-top: 4px; }
    /* The index stacks thirteen cards on a phone: icon beside the text, not above it. */
    .pl-section .pl-index-card { display: flex; align-items: flex-start; text-align: left; padding: 20px; }
    .pl-index-card .icon-wrap { flex-shrink: 0; width: 48px; height: 48px; font-size: 1.25em; margin: 0 16px 0 0; }
    .pl-index-card h3 { margin-top: 0; }
    .pl-tags { margin-top: 10px; }
    .pl-tags .label { margin: 0 4px 0 0; }
    .pl-brief-modal .modal-header { padding: 16px 20px; }
    .pl-brief-modal .modal-body { padding: 20px 20px 24px; }
    .pl-brief-modal .form-group { margin-bottom: 16px; }
}

/* The theme strips the gutter padding from .container-fluid.bg-cover, so the -15px margins of the
   inner .row pushed the page 15px wider than the viewport on mobile. */
.pl-hero > .row,
.pl-cta-band > .row {
    margin-left: 0;
    margin-right: 0;
}
