/* Custom Title Styles */
.custom-title {
    font-size: 3.6rem;
    text-transform: uppercase;
}

.custom-title h1,
.custom-title h2,
.custom-title h3 {
    margin: 0;
}

.custom-title a {
    color: inherit;
    text-decoration: none;
}

.custom-title a:hover {
    text-decoration: underline;
}

.custom-subtitle {
    margin-top: 1rem;
}

.custom-subtitle a {
    color: inherit;
}

/* Button Styles */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-block;
    margin: 0.25rem;
    max-width: 100%;
    word-wrap: break-word;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

/* Button width fix for content blocks */
.block .btn,
.block .btn-primary,
.block .btn-success,
.block .btn-light {
    max-width: 300px;
    display: inline-block;
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
}

/* Header link styles when has background image */
header.has-image .custom-title a,
header.has-image .custom-subtitle a {
    color: #eee;
}

header.has-image .btn-success,
header.has-image .btn-primary,
header.has-image .btn-light {
    text-shadow: none;
}

/* Header vertical alignment styles */
header {
    display: flex;
    flex-direction: column;
}

header .container {
    display: flex;
    flex-direction: column;
}

header.align-top .container {
    justify-content: flex-start;
    padding-top: 3rem;
    padding-bottom: 10rem;
}

header.align-middle .container {
    justify-content: center;
}

header.align-bottom .container {
    justify-content: flex-end;
    padding-top: 10rem;
    padding-bottom: 3rem;
}

/* Header horizontal alignment styles */
header .container.text-left {
    align-items: flex-start;
}

header .container.text-center {
    align-items: center;
}

header .container.text-right {
    align-items: flex-end;
}
