<section class="bg-darkPink-900 py-24" x-data="{ tab: '' }" x-init="tab = $refs.tab1.textContent">
<div class="container mx-auto px-4">
<div class="mb-20 relative">
<div class="absolute bottom-0 left-0 w-full bg-white bg-opacity-10 h-px"></div>
<div class="overflow-x-auto">
<div class="flex items-center justify-between gap-12">
<div class="flex gap-10">
<a href="#" x-ref="tab1" class="inline-block pb-4 border-b-2 border-pink-500 hover:border-pink-500 text-pink-500 hover:text-pink-500 font-semibold transition duration-200" :class="{'border-pink-500 text-pink-500 font-semibold': $refs.tab1.textContent == tab, 'border-transparent text-gray-400': $refs.tab1.textContent != tab}" x-on:click.prevent="tab = $refs.tab1.textContent">Trending</a>
<a href="#" x-ref="tab2" class="inline-block pb-4 border-b-2 border-transparent hover:border-pink-500 text-gray-400 hover:text-pink-500 transition duration-200" :class="{'border-pink-500 text-pink-500 font-semibold': $refs.tab2.textContent == tab, 'border-transparent text-gray-400': $refs.tab2.textContent != tab}" x-on:click.prevent="tab = $refs.tab2.textContent">Accounting</a>
<a href="#" x-ref="tab3" class="inline-block pb-4 border-b-2 border-transparent hover:border-pink-500 text-gray-400 hover:text-pink-500 transition duration-200" :class="{'border-pink-500 text-pink-500 font-semibold': $refs.tab3.textContent == tab, 'border-transparent text-gray-400': $refs.tab3.textContent != tab}" x-on:click.prevent="tab = $refs.tab3.textContent">Entrepreneurship</a>
<a href="#" x-ref="tab4" class="inline-block pb-4 border-b-2 border-transparent hover:border-pink-500 text-gray-400 hover:text-pink-500 transition duration-200" :class="{'border-pink-500 text-pink-500 font-semibold': $refs.tab4.textContent == tab, 'border-transparent text-gray-400': $refs.tab4.textContent != tab}" x-on:click.prevent="tab = $refs.tab4.textContent">Payments</a>
<a href="#" x-ref="tab5" class="inline-block pb-4 border-b-2 border-transparent hover:border-pink-500 text-gray-400 hover:text-pink-500 transition duration-200" :class="{'border-pink-500 text-pink-500 font-semibold': $refs.tab5.textContent == tab, 'border-transparent text-gray-400': $refs.tab5.textContent != tab}" x-on:click.prevent="tab = $refs.tab5.textContent">Company</a>
</div>
<a href="#" class="inline-flex items-center gap-4 pb-4 text-gray-500 hover:text-white transition duration-200">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
<path d="M9.58335 17.5C13.9556 17.5 17.5 13.9556 17.5 9.58335C17.5 5.2111 13.9556 1.66669 9.58335 1.66669C5.2111 1.66669 1.66669 5.2111 1.66669 9.58335C1.66669 13.9556 5.2111 17.5 9.58335 17.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M18.3334 18.3334L16.6667 16.6667" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<span>Search</span>
</a>
</div>
</div>
</div>
<div class="bg-pinkSecondary-900 rounded-3xl mb-20">
<div class="flex flex-wrap">
<div class="w-full lg:w-1/2">
<img class="h-full object-cover rounded-2xl w-full" src="vista-assets/images/blog-content/placeholder-pink.png" alt="">
</div>
<div class="w-full lg:w-1/2">
<div class="px-8 py-12 md:py-20 flex flex-col justify-center items-start h-full">
<a href="#" class="inline-block text-white text-3xl font-bold mb-4 max-w-md hover:underline">Effective email marketing on a budget</a>
<p class="text-white text-sm font-medium mb-4">17 Jul 2023</p>
<p class="text-white text-opacity-70 mb-10 max-w-lg">Read on to find out what the technique is, what it’s used for, and how you can apply it to your studies here are some tips on ...</p>
<span class="px-2 py-1 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-md text-white text-xs font-medium">Trending</span>
</div>
</div>
</div>
</div>
<h2 class="font-heading text-white text-4xl font-bold mb-10">Latest articles</h2>
<div class="flex flex-wrap -m-4">
<div class="w-full sm:w-1/2 lg:w-1/3 p-4">
<a href="#" class="group">
<img class="h-60 w-full object-cover rounded-2xl mb-6" src="vista-assets/images/blog-content/placeholder-pink-small.png" alt="">
<p class="text-white text-xl font-bold group-hover:underline mb-3">Make Your Phone Your Best Study Tool</p>
<p class="text-white text-sm font-medium mb-3">17 Jul 2023</p>
<p class="text-gray-400 text-sm mb-6 max-w-sm">How do we make our phone best study tool? Read on to find out more.</p>
<span class="px-2 py-1 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-md text-white text-xs font-medium">Accounting</span>
</a>
</div>
<div class="w-full sm:w-1/2 lg:w-1/3 p-4">
<a href="#" class="group">
<img class="h-60 w-full object-cover rounded-2xl mb-6" src="vista-assets/images/blog-content/placeholder-pink-small.png" alt="">
<p class="text-white text-xl font-bold group-hover:underline mb-3">Make Your Phone Your Best Study Tool</p>
<p class="text-white text-sm font-medium mb-3">17 Jul 2023</p>
<p class="text-gray-400 text-sm mb-6 max-w-sm">How do we make our phone best study tool? Read on to find out more.</p>
<span class="px-2 py-1 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-md text-white text-xs font-medium">Entrepreneurship</span>
</a>
</div>
<div class="w-full sm:w-1/2 lg:w-1/3 p-4">
<a href="#" class="group">
<img class="h-60 w-full object-cover rounded-2xl mb-6" src="vista-assets/images/blog-content/placeholder-pink-small.png" alt="">
<p class="text-white text-xl font-bold group-hover:underline mb-3">Make Your Phone Your Best Study Tool</p>
<p class="text-white text-sm font-medium mb-3">17 Jul 2023</p>
<p class="text-gray-400 text-sm mb-6 max-w-sm">How do we make our phone best study tool? Read on to find out more.</p>
<span class="px-2 py-1 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-md text-white text-xs font-medium">Payments</span>
</a>
</div>
<div class="w-full sm:w-1/2 lg:w-1/3 p-4">
<a href="#" class="group">
<img class="h-60 w-full object-cover rounded-2xl mb-6" src="vista-assets/images/blog-content/placeholder-pink-small.png" alt="">
<p class="text-white text-xl font-bold group-hover:underline mb-3">Make Your Phone Your Best Study Tool</p>
<p class="text-white text-sm font-medium mb-3">17 Jul 2023</p>
<p class="text-gray-400 text-sm mb-6 max-w-sm">How do we make our phone best study tool? Read on to find out more.</p>
<span class="px-2 py-1 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-md text-white text-xs font-medium">Accounting</span>
</a>
</div>
<div class="w-full sm:w-1/2 lg:w-1/3 p-4">
<a href="#" class="group">
<img class="h-60 w-full object-cover rounded-2xl mb-6" src="vista-assets/images/blog-content/placeholder-pink-small.png" alt="">
<p class="text-white text-xl font-bold group-hover:underline mb-3">Make Your Phone Your Best Study Tool</p>
<p class="text-white text-sm font-medium mb-3">17 Jul 2023</p>
<p class="text-gray-400 text-sm mb-6 max-w-sm">How do we make our phone best study tool? Read on to find out more.</p>
<span class="px-2 py-1 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-md text-white text-xs font-medium">Entrepreneurship</span>
</a>
</div>
<div class="w-full sm:w-1/2 lg:w-1/3 p-4">
<a href="#" class="group">
<img class="h-60 w-full object-cover rounded-2xl mb-6" src="vista-assets/images/blog-content/placeholder-pink-small.png" alt="">
<p class="text-white text-xl font-bold group-hover:underline mb-3">Make Your Phone Your Best Study Tool</p>
<p class="text-white text-sm font-medium mb-3">17 Jul 2023</p>
<p class="text-gray-400 text-sm mb-6 max-w-sm">How do we make our phone best study tool? Read on to find out more.</p>
<span class="px-2 py-1 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-md text-white text-xs font-medium">Payments</span>
</a>
</div>
</div>
</div>
</section>