| 1 |
/** |
| 2 |
* ThinkRank Hero Section (Site Identity → Hero & Branding) |
| 3 |
* |
| 4 |
* Base styling for the [thinkrank_hero] shortcode / thinkrank_hero() output. |
| 5 |
* Themes may override any of these rules. |
| 6 |
*/ |
| 7 |
.thinkrank-hero { |
| 8 |
position: relative; |
| 9 |
padding: 4rem 1.5rem; |
| 10 |
text-align: center; |
| 11 |
background-size: cover; |
| 12 |
background-position: center; |
| 13 |
background-repeat: no-repeat; |
| 14 |
} |
| 15 |
|
| 16 |
.thinkrank-hero--has-image::before { |
| 17 |
content: ""; |
| 18 |
position: absolute; |
| 19 |
inset: 0; |
| 20 |
background: rgba(0, 0, 0, 0.45); |
| 21 |
} |
| 22 |
|
| 23 |
.thinkrank-hero__inner { |
| 24 |
position: relative; |
| 25 |
max-width: 48rem; |
| 26 |
margin: 0 auto; |
| 27 |
display: flex; |
| 28 |
flex-direction: column; |
| 29 |
align-items: center; |
| 30 |
gap: 1rem; |
| 31 |
} |
| 32 |
|
| 33 |
.thinkrank-hero__title { |
| 34 |
margin: 0; |
| 35 |
font-size: 2.25rem; |
| 36 |
line-height: 1.15; |
| 37 |
} |
| 38 |
|
| 39 |
.thinkrank-hero__subtitle { |
| 40 |
margin: 0; |
| 41 |
font-size: 1.125rem; |
| 42 |
opacity: 0.9; |
| 43 |
} |
| 44 |
|
| 45 |
.thinkrank-hero--has-image .thinkrank-hero__title, |
| 46 |
.thinkrank-hero--has-image .thinkrank-hero__subtitle { |
| 47 |
color: #fff; |
| 48 |
} |
| 49 |
|
| 50 |
.thinkrank-hero__cta { |
| 51 |
display: inline-block; |
| 52 |
margin-top: 0.5rem; |
| 53 |
padding: 0.75rem 1.5rem; |
| 54 |
background: #2563eb; |
| 55 |
color: #fff; |
| 56 |
border-radius: 6px; |
| 57 |
text-decoration: none; |
| 58 |
font-weight: 600; |
| 59 |
} |
| 60 |
|
| 61 |
.thinkrank-hero__cta:hover, |
| 62 |
.thinkrank-hero__cta:focus { |
| 63 |
background: #1d4ed8; |
| 64 |
} |
| 65 |
|